mirror of
https://github.com/songoda/EpicFurnaces.git
synced 2024-12-11 11:10:02 +01:00
furnace smoke doesn't fly
This commit is contained in:
parent
e695be490b
commit
6fbdca2036
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user