mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-25 20:16:19 +01:00
SPIGOT-5442: Fix issue with fire charges
This commit is contained in:
parent
beff9fb9dd
commit
73698cf88d
@ -218,7 +218,7 @@
|
|||||||
+ }
|
+ }
|
||||||
+
|
+
|
||||||
+ EntitySmallFireball entitysmallfireball = new EntitySmallFireball(world, d0, d1, d2, event.getVelocity().getX(), event.getVelocity().getY(), event.getVelocity().getZ());
|
+ 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());
|
+ entitysmallfireball.projectileSource = new org.bukkit.craftbukkit.projectiles.CraftBlockProjectileSource((TileEntityDispenser) isourceblock.getTileEntity());
|
||||||
+
|
+
|
||||||
+ world.addEntity(entitysmallfireball);
|
+ world.addEntity(entitysmallfireball);
|
||||||
|
Loading…
Reference in New Issue
Block a user