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);
|
||||
if (particleSet == null)
|
||||
return;
|
||||
Location location = event.getBlock().getLocation();
|
||||
location.setYaw(player.getLocation().getYaw());
|
||||
particleSet.run(location, uuid);
|
||||
particleSet.run(event.getBlock().getLocation(), uuid);
|
||||
});
|
||||
}
|
||||
}.runTaskAsynchronously(AltitudeParticles.getInstance());
|
||||
|
|
|
|||
|
|
@ -39,9 +39,7 @@ public class BlockPlaceListener implements Listener {
|
|||
ParticleSet particleSet = playerSettings.getParticles(aPartType);
|
||||
if (particleSet == null)
|
||||
return;
|
||||
Location location = event.getBlock().getLocation();
|
||||
location.setYaw(player.getLocation().getYaw());
|
||||
particleSet.run(location, uuid);
|
||||
particleSet.run(event.getBlock().getLocation(), uuid);
|
||||
});
|
||||
}
|
||||
}.runTaskAsynchronously(AltitudeParticles.getInstance());
|
||||
|
|
|
|||
|
|
@ -40,9 +40,7 @@ public class KillListener implements Listener {
|
|||
ParticleSet particleSet = playerSettings.getParticles(aPartType);
|
||||
if (particleSet == null)
|
||||
return;
|
||||
Location location = event.getEntity().getLocation();
|
||||
location.setYaw(player.getLocation().getYaw());
|
||||
particleSet.run(location, uuid);
|
||||
particleSet.run(event.getEntity().getLocation(), uuid);
|
||||
});
|
||||
}
|
||||
}.runTaskAsynchronously(AltitudeParticles.getInstance());
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user