mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-06-25 18:24:43 +02:00
@ -86,7 +86,10 @@ public final class ParticleEffectUtils {
|
||||
private static void fireworkParticleShower(Player player, Color color) {
|
||||
Location location = player.getLocation();
|
||||
|
||||
if (!player.isInsideVehicle()) {
|
||||
if (player.isInsideVehicle()) {
|
||||
location.setY(location.getY() + 1.0);
|
||||
}
|
||||
else {
|
||||
location.setY(location.getY() - 1.0);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user