aboutsummaryrefslogtreecommitdiffhomepage
path: root/patch-remap/og/net/minecraft/world/entity/projectile/EntityFireballFireball.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patch-remap/og/net/minecraft/world/entity/projectile/EntityFireballFireball.patch')
-rw-r--r--patch-remap/og/net/minecraft/world/entity/projectile/EntityFireballFireball.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/patch-remap/og/net/minecraft/world/entity/projectile/EntityFireballFireball.patch b/patch-remap/og/net/minecraft/world/entity/projectile/EntityFireballFireball.patch
new file mode 100644
index 0000000000..4c175de142
--- /dev/null
+++ b/patch-remap/og/net/minecraft/world/entity/projectile/EntityFireballFireball.patch
@@ -0,0 +1,10 @@
+--- a/net/minecraft/world/entity/projectile/EntityFireballFireball.java
++++ b/net/minecraft/world/entity/projectile/EntityFireballFireball.java
+@@ -65,6 +65,6 @@
+ super.readAdditionalSaveData(nbttagcompound);
+ ItemStack itemstack = ItemStack.of(nbttagcompound.getCompound("Item"));
+
+- this.setItem(itemstack);
++ if (!itemstack.isEmpty()) this.setItem(itemstack); // CraftBukkit - SPIGOT-5474 probably came from bugged earlier versions
+ }
+ }