replace target fix

This commit is contained in:
A-lex-Ra 2024-01-17 19:26:09 +06:00
parent 9c555057b2
commit 3473aeb309

View File

@ -285,7 +285,7 @@ void PlayerController::updateInteraction(){
scripting::on_block_interact(player, target, x, y, z);
return;
}
if (target->model != BlockModel::xsprite){
if (!target->replaceable){
x = (iend.x)+(norm.x);
y = (iend.y)+(norm.y);
z = (iend.z)+(norm.z);