3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-12-18 20:40:08 +01:00
Paper/nms-patches/ItemRecord.patch

18 Zeilen
750 B
Diff

--- ../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 {