@@ -5,6 +5,6 @@
|
||||
if (iblockdata.getBlock() == Blocks.JUKEBOX && !((Boolean) iblockdata.get(BlockJukeBox.HAS_RECORD)).booleanValue()) {
|
||||
if (!world.isClientSide) {
|
||||
+ if (true) return EnumInteractionResult.SUCCESS; // CraftBukkit - handled in ItemStack
|
||||
ItemStack itemstack = entityhuman.b(enumhand);
|
||||
|
||||
((BlockJukeBox) Blocks.JUKEBOX).a(world, blockposition, iblockdata, itemstack);
|
||||
world.a((EntityHuman) null, 1010, blockposition, Item.getId(this));
|
||||
--itemstack.count;
|
||||
|
||||
Reference in New Issue
Block a user