Don't spawn fireworks under a boat (for real this time)

Fixes #1534
This commit is contained in:
TfT_02 2013-10-14 17:07:15 +02:00
parent dd64c4008b
commit 741f629ab8

View File

@ -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);
}