Special case record placement into juke boxes as they update their tile.
By: md_5 <git@md-5.net>
This commit is contained in:
17
paper-server/nms-patches/ItemRecord.patch
Normal file
17
paper-server/nms-patches/ItemRecord.patch
Normal file
@@ -0,0 +1,17 @@
|
||||
--- ../work/decompile-73f3c166/net/minecraft/server/ItemRecord.java 2015-04-10 21:23:03.674603339 +1000
|
||||
+++ src/main/java/net/minecraft/server/ItemRecord.java 2015-04-10 21:23:03.678603362 +1000
|
||||
@@ -22,10 +22,14 @@
|
||||
if (world.isClientSide) {
|
||||
return true;
|
||||
} else {
|
||||
+ // CraftBukkit Start
|
||||
+ /*
|
||||
((BlockJukeBox) Blocks.JUKEBOX).a(world, blockposition, iblockdata, itemstack);
|
||||
world.a((EntityHuman) null, 1005, blockposition, Item.getId(this));
|
||||
--itemstack.count;
|
||||
entityhuman.b(StatisticList.X);
|
||||
+ */
|
||||
+ // CraftBukkit End
|
||||
return true;
|
||||
}
|
||||
} else {
|
||||
Reference in New Issue
Block a user