Merge pull request #117 from A-lex-Ra/main
fix redundant model dependency in player interaction
This commit is contained in:
commit
45315a1801
@ -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…
x
Reference in New Issue
Block a user