SPIGOT-5442: Fix issue with fire charges

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot 2019-12-12 13:49:56 +11:00
parent 30f1448618
commit b3eb396728

View file

@ -218,7 +218,7 @@
+ }
+
+ EntitySmallFireball entitysmallfireball = new EntitySmallFireball(world, d0, d1, d2, event.getVelocity().getX(), event.getVelocity().getY(), event.getVelocity().getZ());
+ entitysmallfireball.b(itemstack);
+ entitysmallfireball.b(itemstack1);
+ entitysmallfireball.projectileSource = new org.bukkit.craftbukkit.projectiles.CraftBlockProjectileSource((TileEntityDispenser) isourceblock.getTileEntity());
+
+ world.addEntity(entitysmallfireball);