mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-10 13:31:49 +00:00
replace target fix
This commit is contained in:
parent
9c555057b2
commit
3473aeb309
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue