replace target fix
This commit is contained in:
@@ -285,7 +285,7 @@ void PlayerController::updateInteraction(){
|
|||||||
scripting::on_block_interact(player, target, x, y, z);
|
scripting::on_block_interact(player, target, x, y, z);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (target->model != BlockModel::xsprite){
|
if (!target->replaceable){
|
||||||
x = (iend.x)+(norm.x);
|
x = (iend.x)+(norm.x);
|
||||||
y = (iend.y)+(norm.y);
|
y = (iend.y)+(norm.y);
|
||||||
z = (iend.z)+(norm.z);
|
z = (iend.z)+(norm.z);
|
||||||
|
|||||||
Reference in New Issue
Block a user