mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-05 10:20:53 +01:00
11 lines
558 B
Diff
11 lines
558 B
Diff
--- a/net/minecraft/server/ItemRecord.java
|
|
+++ b/net/minecraft/server/ItemRecord.java
|
|
@@ -26,6 +26,7 @@
|
|
ItemStack itemstack = itemactioncontext.getItemStack();
|
|
|
|
if (!world.isClientSide) {
|
|
+ if (true) return EnumInteractionResult.SUCCESS; // CraftBukkit - handled in ItemStack
|
|
((BlockJukeBox) Blocks.JUKEBOX).a((GeneratorAccess) world, blockposition, iblockdata, itemstack);
|
|
world.a((EntityHuman) null, 1010, blockposition, Item.getId(this));
|
|
itemstack.subtract(1);
|