summaryrefslogtreecommitdiffstats
path: root/nms-patches/ItemRecord.patch
blob: ab2b7647de409704821c4c59443fff5c02155bd0 (plain)
1
2
3
4
5
6
7
8
9
10
--- a/net/minecraft/server/ItemRecord.java
+++ b/net/minecraft/server/ItemRecord.java
@@ -34,6 +34,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);