mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-22 21:26:46 +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) {
|
private static void fireworkParticleShower(Player player, Color color) {
|
||||||
Location location = player.getLocation();
|
Location location = player.getLocation();
|
||||||
|
location.setY(location.getY() - 1.0);
|
||||||
location.setPitch(-90);
|
location.setPitch(-90);
|
||||||
|
|
||||||
Firework firework = (Firework) player.getWorld().spawnEntity(location, EntityType.FIREWORK);
|
Firework firework = (Firework) player.getWorld().spawnEntity(location, EntityType.FIREWORK);
|
||||||
|
Loading…
Reference in New Issue
Block a user