Skip to content

Commit

Permalink
remove debug print statements
Browse files Browse the repository at this point in the history
  • Loading branch information
Arminias committed Nov 23, 2024
1 parent 8544346 commit 849a774
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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<Boolean> cir) {
System.out.println(((WorldExtension) world).getBlockExtraMetadata(x, y, z));
}
}*/

}
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}*/
}

0 comments on commit 849a774

Please sign in to comment.