mirror of
https://github.com/GTNewHorizons/StorageDrawers.git
synced 2026-11-19 03:49:33 +00:00
change mixin name
This commit is contained in:
1 parent
13f832e7c0
commit
82ba5efed6
1 file changed
+1
-1
+1
-1
@@ -26,7 +26,7 @@ public abstract class MixinPlayerControllerMP {
|
||||
at = @At(
|
||||
value = "INVOKE",
|
||||
target = "Lnet/minecraft/block/Block;getPlayerRelativeBlockHardness(Lnet/minecraft/entity/player/EntityPlayer;Lnet/minecraft/world/World;III)F"))
|
||||
private void mixin(int x, int y, int z, int side, CallbackInfo ci) {
|
||||
private void StorageDrawers$checkIfClickingDrawer(int x, int y, int z, int side, CallbackInfo ci) {
|
||||
if (mc.theWorld.getTileEntity(x, y, z) instanceof TileEntityDrawers ted) {
|
||||
if (ted.getDirection() == side) {
|
||||
final int reach = 5;
|
||||
|
||||
Reference in new issue
Block a user