mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
Merge pull request #117 from A-lex-Ra/main
fix redundant model dependency in player interaction
This commit is contained in:
commit
45315a1801
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);
|
||||
return;
|
||||
}
|
||||
if (target->model != BlockModel::xsprite){
|
||||
if (!target->replaceable){
|
||||
x = (iend.x)+(norm.x);
|
||||
y = (iend.y)+(norm.y);
|
||||
z = (iend.z)+(norm.z);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue