mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-24 17:22:55 +01:00
SPIGOT-5442: Fix issue with fire charges
By: md_5 <git@md-5.net>
This commit is contained in:
parent
30f1448618
commit
b3eb396728
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue