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
+2
-2
@@ -4,8 +4,8 @@ org.gradle.jvmargs=-Xmx1G
|
||||
# Fabric Properties
|
||||
# check these on https://fabricmc.net/use
|
||||
# or better: https://modmuss50.me/fabric.html
|
||||
minecraft_version=1.16-pre6
|
||||
yarn_mappings=1.16-pre6+build.1
|
||||
minecraft_version=1.16-pre7
|
||||
yarn_mappings=1.16-pre7+build.1
|
||||
loader_version=0.8.7+build.201
|
||||
|
||||
# Mod Properties
|
||||
|
||||
@@ -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