2021-03-15 23:00:00 +01:00
|
|
|
--- a/net/minecraft/world/entity/projectile/EntityFireballFireball.java
|
|
|
|
+++ b/net/minecraft/world/entity/projectile/EntityFireballFireball.java
|
2023-06-07 17:30:00 +02:00
|
|
|
@@ -65,6 +65,6 @@
|
2021-11-21 23:00:00 +01:00
|
|
|
super.readAdditionalSaveData(nbttagcompound);
|
|
|
|
ItemStack itemstack = ItemStack.of(nbttagcompound.getCompound("Item"));
|
2019-12-23 03:14:11 +01:00
|
|
|
|
2020-06-25 02:00:00 +02:00
|
|
|
- this.setItem(itemstack);
|
|
|
|
+ if (!itemstack.isEmpty()) this.setItem(itemstack); // CraftBukkit - SPIGOT-5474 probably came from bugged earlier versions
|
2019-12-23 03:14:11 +01:00
|
|
|
}
|
|
|
|
}
|