mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-10 03:52:45 +01:00
9d740b84b0
By: md_5 <git@md-5.net>
10 lines
476 B
Diff
10 lines
476 B
Diff
--- 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
|
|
}
|
|
}
|