SPIGOT-5442: Fix issue with fire charges

This commit is contained in:
md_5 2019-12-12 13:49:56 +11:00
parent beff9fb9dd
commit 73698cf88d

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);