furnace smoke doesn't fly

This commit is contained in:
jascotty2 2019-09-10 17:59:22 -05:00
parent e695be490b
commit 6fbdca2036

View File

@ -83,7 +83,7 @@ public class FurnaceTask extends BukkitRunnable {
float yy = (float) (0 + (Math.random() * 1)); float yy = (float) (0 + (Math.random() * 1));
float zz = (float) (0 + (Math.random() * .75)); float zz = (float) (0 + (Math.random() * .75));
CompatibleParticleHandler.spawnParticles(CompatibleParticleHandler.ParticleType.SMOKE_NORMAL, location, 25, xx, yy, zz); CompatibleParticleHandler.spawnParticles(CompatibleParticleHandler.ParticleType.SMOKE_NORMAL, location, 25, xx, yy, zz, 0);
} }
if (block.getType() == Material.SNOW) { if (block.getType() == Material.SNOW) {
block.setType(Material.AIR); block.setType(Material.AIR);
@ -120,7 +120,7 @@ public class FurnaceTask extends BukkitRunnable {
float yy = (float) (0 + (Math.random() * 1)); float yy = (float) (0 + (Math.random() * 1));
float zz = (float) (0 + (Math.random() * .75)); float zz = (float) (0 + (Math.random() * .75));
CompatibleParticleHandler.spawnParticles(CompatibleParticleHandler.ParticleType.SMOKE_NORMAL, location, 25, xx, yy, zz); CompatibleParticleHandler.spawnParticles(CompatibleParticleHandler.ParticleType.SMOKE_NORMAL, location, 25, xx, yy, zz, 0);
} }
} }
} }