2015-05-25 18:37:24 +08:00
|
|
|
--- a/net/minecraft/server/ItemRecord.java
|
|
|
|
+++ b/net/minecraft/server/ItemRecord.java
|
2018-07-15 08:00:00 +08:00
|
|
|
@@ -34,6 +34,7 @@
|
|
|
|
ItemStack itemstack = itemactioncontext.getItemStack();
|
2016-03-01 05:32:46 +08:00
|
|
|
|
|
|
|
if (!world.isClientSide) {
|
|
|
|
+ if (true) return EnumInteractionResult.SUCCESS; // CraftBukkit - handled in ItemStack
|
2018-07-15 08:00:00 +08:00
|
|
|
((BlockJukeBox) Blocks.JUKEBOX).a((GeneratorAccess) world, blockposition, iblockdata, itemstack);
|
|
|
|
world.a((EntityHuman) null, 1010, blockposition, Item.getId(this));
|
|
|
|
itemstack.subtract(1);
|