yaw is not used when adding x/y/z so its irrelevant to set it
This commit is contained in:
@@ -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());
|
||||||
|
|||||||
Reference in New Issue
Block a user