yaw is not used when adding x/y/z so its irrelevant to set it

This commit is contained in:
Teriuihi 2022-02-23 04:17:20 +01:00
parent c98f141d7e
commit e48d7c97c9
3 changed files with 3 additions and 9 deletions

View File

@ -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());

View File

@ -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());

View File

@ -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());