mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-18 03:15:07 +00:00
Fix plentiful mantle rod particles being blocked by blocks in the way. Closes #3131
This commit is contained in:
1 parent
47af6e960e
commit
ebb0aca7f4
1 file changed
+1
-1
@@ -69,7 +69,7 @@ public class ItemDiviningRod extends ItemMod implements IManaUsingItem, IAvatarW
|
||||
|
||||
if(Tags.Blocks.ORES.contains(state.getBlock())) {
|
||||
Random rand = new Random(state.hashCode() ^ seedxor);
|
||||
WispParticleData data = WispParticleData.wisp(0.25F, rand.nextFloat(), rand.nextFloat(), rand.nextFloat(), 8);
|
||||
WispParticleData data = WispParticleData.wisp(0.25F, rand.nextFloat(), rand.nextFloat(), rand.nextFloat(), 8, false);
|
||||
world.addParticle(data, pos_.getX() + world.rand.nextFloat(),
|
||||
pos_.getY() + world.rand.nextFloat(),
|
||||
pos_.getZ() + world.rand.nextFloat(),
|
||||
|
||||
Reference in new issue
Block a user