mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-09 04:09:54 +01:00
11 lines
539 B
Diff
11 lines
539 B
Diff
--- a/net/minecraft/server/ItemRecord.java
|
|
+++ b/net/minecraft/server/ItemRecord.java
|
|
@@ -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
|
|
ItemStack itemstack = entityhuman.b(enumhand);
|
|
|
|
((BlockJukeBox) Blocks.JUKEBOX).a(world, blockposition, iblockdata, itemstack);
|