diff --git a/src/main/java/btw/community/arminias/metadata/mixin/BlockChestMixin.java b/src/main/java/btw/community/arminias/metadata/mixin/BlockChestMixin.java index f79938f..6e2067d 100644 --- a/src/main/java/btw/community/arminias/metadata/mixin/BlockChestMixin.java +++ b/src/main/java/btw/community/arminias/metadata/mixin/BlockChestMixin.java @@ -11,9 +11,9 @@ public class BlockChestMixin { // TODO Remove - @Inject(method = "onBlockActivated", at = @org.spongepowered.asm.mixin.injection.At(value = "HEAD")) + /*@Inject(method = "onBlockActivated", at = @org.spongepowered.asm.mixin.injection.At(value = "HEAD")) private void onBlockActivatedInject(World world, int x, int y, int z, net.minecraft.src.EntityPlayer player, int side, float hitX, float hitY, float hitZ, CallbackInfoReturnable cir) { System.out.println(((WorldExtension) world).getBlockExtraMetadata(x, y, z)); - } + }*/ } diff --git a/src/main/java/btw/community/arminias/metadata/mixin/TileEntityChestMixin.java b/src/main/java/btw/community/arminias/metadata/mixin/TileEntityChestMixin.java index d07c0e4..59c23ec 100644 --- a/src/main/java/btw/community/arminias/metadata/mixin/TileEntityChestMixin.java +++ b/src/main/java/btw/community/arminias/metadata/mixin/TileEntityChestMixin.java @@ -12,8 +12,8 @@ @Mixin(TileEntityChest.class) public class TileEntityChestMixin extends TileEntity { // TODO Remove - @Inject(method = "openChest", at = @At(value = "HEAD")) + /*@Inject(method = "openChest", at = @At(value = "HEAD")) private void openChestInject(CallbackInfo ci) { WorldExtension.cast(worldObj).setBlockExtraMetadata(this.xCoord, this.yCoord, this.zCoord, WorldExtension.cast(worldObj).getBlockExtraMetadata(this.xCoord, this.yCoord, this.zCoord) - 1); - } + }*/ }