yaw is not used when adding x/y/z so its irrelevant to set it
This commit is contained in:
parent
c98f141d7e
commit
e48d7c97c9
|
|
@ -39,9 +39,7 @@ public class BlockBreakListener implements Listener {
|
||||||
ParticleSet particleSet = playerSettings.getParticles(aPartType);
|
ParticleSet particleSet = playerSettings.getParticles(aPartType);
|
||||||
if (particleSet == null)
|
if (particleSet == null)
|
||||||
return;
|
return;
|
||||||
Location location = event.getBlock().getLocation();
|
particleSet.run(event.getBlock().getLocation(), uuid);
|
||||||
location.setYaw(player.getLocation().getYaw());
|
|
||||||
particleSet.run(location, uuid);
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}.runTaskAsynchronously(AltitudeParticles.getInstance());
|
}.runTaskAsynchronously(AltitudeParticles.getInstance());
|
||||||
|
|
|
||||||
|
|
@ -39,9 +39,7 @@ public class BlockPlaceListener implements Listener {
|
||||||
ParticleSet particleSet = playerSettings.getParticles(aPartType);
|
ParticleSet particleSet = playerSettings.getParticles(aPartType);
|
||||||
if (particleSet == null)
|
if (particleSet == null)
|
||||||
return;
|
return;
|
||||||
Location location = event.getBlock().getLocation();
|
particleSet.run(event.getBlock().getLocation(), uuid);
|
||||||
location.setYaw(player.getLocation().getYaw());
|
|
||||||
particleSet.run(location, uuid);
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}.runTaskAsynchronously(AltitudeParticles.getInstance());
|
}.runTaskAsynchronously(AltitudeParticles.getInstance());
|
||||||
|
|
|
||||||
|
|
@ -40,9 +40,7 @@ public class KillListener implements Listener {
|
||||||
ParticleSet particleSet = playerSettings.getParticles(aPartType);
|
ParticleSet particleSet = playerSettings.getParticles(aPartType);
|
||||||
if (particleSet == null)
|
if (particleSet == null)
|
||||||
return;
|
return;
|
||||||
Location location = event.getEntity().getLocation();
|
particleSet.run(event.getEntity().getLocation(), uuid);
|
||||||
location.setYaw(player.getLocation().getYaw());
|
|
||||||
particleSet.run(location, uuid);
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}.runTaskAsynchronously(AltitudeParticles.getInstance());
|
}.runTaskAsynchronously(AltitudeParticles.getInstance());
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user