diff --git a/nms-patches/Explosion.patch b/nms-patches/Explosion.patch index 4cfeaa11a5..494c5ea2ce 100644 --- a/nms-patches/Explosion.patch +++ b/nms-patches/Explosion.patch @@ -143,3 +143,11 @@ } } } +@@ -255,6 +326,7 @@ + } + + private static void a(ObjectArrayList> objectarraylist, ItemStack itemstack, BlockPosition blockposition) { ++ if (itemstack.isEmpty()) return; // CraftBukkit - SPIGOT-5425 + int i = objectarraylist.size(); + + for (int j = 0; j < i; ++j) { diff --git a/nms-patches/LootTable.patch b/nms-patches/LootTable.patch deleted file mode 100644 index 829b5482c4..0000000000 --- a/nms-patches/LootTable.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- 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();