small fix

This commit is contained in:
MihailRis 2024-01-29 03:56:47 +03:00
parent 7df98f7b35
commit 909f380825

View File

@ -286,7 +286,7 @@ void PlayerController::updateInteraction(){
}
if (def && rclick){
if (!input.shift && target->rt.funcsset.oninteract) {
if (!scripting::on_block_interact(player, target, x, y, z))
if (scripting::on_block_interact(player, target, x, y, z))
return;
}
if (!target->replaceable){