mirror of
https://github.com/Sollace/Unicopia.git
synced 2024-11-27 23:27:59 +01:00
Fixed missing particle effect when throwing a cloud in a jar
This commit is contained in:
parent
0f4e72a55b
commit
26df9fc8d3
1 changed files with 1 additions and 1 deletions
|
@ -149,7 +149,7 @@ public class JarItem extends Item implements ProjectileDelegate, ItemImpl.Tickab
|
|||
projectile.world.syncWorldEvent(WorldEvents.SPLASH_POTION_SPLASHED, projectile.getBlockPos(), thunder ? 0x888888 : 0xF8F8F8);
|
||||
|
||||
for (int i = projectile.world.random.nextInt(3) + 1; i >= 0; i--) {
|
||||
projectile.world.addParticle(UParticles.CLOUDS_ESCAPING, true,
|
||||
ParticleUtils.spawnParticle(projectile.world, UParticles.CLOUDS_ESCAPING,
|
||||
projectile.getX(), projectile.getY(), projectile.getZ(),
|
||||
projectile.world.random.nextFloat() - 0.5,
|
||||
0,
|
||||
|
|
Loading…
Reference in a new issue