mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-22 05:06:45 +01:00
This has to be one block lower or it winds up in the sky.
This commit is contained in:
parent
760432fb41
commit
fdeadde7f0
@ -53,6 +53,7 @@ public final class ParticleEffectUtils {
|
||||
|
||||
private static void fireworkParticleShower(Player player, Color color) {
|
||||
Location location = player.getLocation();
|
||||
location.setY(location.getY() - 1.0);
|
||||
location.setPitch(-90);
|
||||
|
||||
Firework firework = (Firework) player.getWorld().spawnEntity(location, EntityType.FIREWORK);
|
||||
|
Loading…
Reference in New Issue
Block a user