mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-01 08:09:39 +01:00
parent
dd64c4008b
commit
741f629ab8
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user