mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-07-23 07:40:29 +02:00
This has to be one block lower or it winds up in the sky.
This commit is contained in:
@@ -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);
|
||||||
|
Reference in New Issue
Block a user