2015-05-25 12:37:24 +02:00
|
|
|
--- a/net/minecraft/server/ItemRecord.java
|
|
|
|
+++ b/net/minecraft/server/ItemRecord.java
|
2016-02-29 22:32:46 +01:00
|
|
|
@@ -22,6 +22,7 @@
|
|
|
|
|
|
|
|
if (iblockdata.getBlock() == Blocks.JUKEBOX && !((Boolean) iblockdata.get(BlockJukeBox.HAS_RECORD)).booleanValue()) {
|
|
|
|
if (!world.isClientSide) {
|
|
|
|
+ if (true) return EnumInteractionResult.SUCCESS; // CraftBukkit - handled in ItemStack
|
2016-11-17 02:41:03 +01:00
|
|
|
ItemStack itemstack = entityhuman.b(enumhand);
|
|
|
|
|
2015-04-10 13:24:34 +02:00
|
|
|
((BlockJukeBox) Blocks.JUKEBOX).a(world, blockposition, iblockdata, itemstack);
|