making sure that any source can query entities since they already can run code.

This commit is contained in:
gnembon committed 2020-06-16 13:41:42 -03:00
1 parent 78973e54ec
commit 620a882a2f
2 files changed
+3 -3

No files matched your search

@@ -127,7 +127,7 @@ public class ServerPlayNetworkHandler_scarpetEventsMixin
if (PLAYER_RIGHT_CLICKS_BLOCK.isNeeded())
{
Hand hand = playerInteractBlockC2SPacket_1.getHand();
BlockHitResult hitRes = playerInteractBlockC2SPacket_1.getHitY();
BlockHitResult hitRes = playerInteractBlockC2SPacket_1.getBlockHitResult();
PLAYER_RIGHT_CLICKS_BLOCK.onBlockHit(player, hand, hitRes);
}
}