diff --git a/nms-patches/LootTable.patch b/nms-patches/LootTable.patch new file mode 100644 index 0000000000..829b5482c4 --- /dev/null +++ b/nms-patches/LootTable.patch @@ -0,0 +1,10 @@ +--- a/net/minecraft/server/LootTable.java ++++ b/net/minecraft/server/LootTable.java +@@ -39,6 +39,7 @@ + public static Consumer a(Consumer consumer) { + return (itemstack) -> { + if (itemstack.getCount() < itemstack.getMaxStackSize()) { ++ if (itemstack.isEmpty()) return; // CraftBukkit + consumer.accept(itemstack); + } else { + int i = itemstack.getCount();