diff options
Diffstat (limited to 'nms-patches/ItemRecord.patch')
-rw-r--r-- | nms-patches/ItemRecord.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nms-patches/ItemRecord.patch b/nms-patches/ItemRecord.patch index ef571447..0dff1125 100644 --- a/nms-patches/ItemRecord.patch +++ b/nms-patches/ItemRecord.patch @@ -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; |