making sure that any source can query entities since they already can run code.
This commit is contained in:
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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user