mirror of
https://github.com/GTNewHorizons/StorageDrawers.git
synced 2026-11-21 12:42:24 +00:00
Fix drawers clicking not always registering (#76)
This commit is contained in:
1 parent
85efc53e5f
commit
1fadc3dc50
1 file changed
+1
-1
+1
-1
@@ -35,7 +35,7 @@ public abstract class MixinPlayerControllerMP {
|
||||
private boolean storageDrawers$isHoldingClick = false;
|
||||
|
||||
@ModifyExpressionValue(
|
||||
method = "onPlayerDamageBlock",
|
||||
method = { "clickBlock", "onPlayerDamageBlock" },
|
||||
at = @At(
|
||||
value = "INVOKE",
|
||||
target = "Lnet/minecraft/block/Block;getPlayerRelativeBlockHardness(Lnet/minecraft/entity/player/EntityPlayer;Lnet/minecraft/world/World;III)F"))
|
||||
|
||||
Reference in new issue
Block a user