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