SteamWar/MissileWars
Archiviert
13
0

Fix SpaceListener
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful

Dieser Commit ist enthalten in:
yoyosource 2022-12-28 21:44:40 +01:00
Ursprung 7a0c763923
Commit 412d348b43

Datei anzeigen

@ -51,7 +51,7 @@ public class SpaceListener extends BasicListener {
Player player = event.getPlayer();
player.addPotionEffect(new PotionEffect(PotionEffectType.JUMP, Integer.MAX_VALUE, 3));
player.addPotionEffect(new PotionEffect(PotionEffectType.SLOW_FALLING, Integer.MAX_VALUE, 3));
player.setHealthScale(0.25);
player.setHealth(2.5);
}, 5);
}
@ -62,7 +62,7 @@ public class SpaceListener extends BasicListener {
Player player = event.getPlayer();
player.addPotionEffect(new PotionEffect(PotionEffectType.JUMP, Integer.MAX_VALUE, 3));
player.addPotionEffect(new PotionEffect(PotionEffectType.SLOW_FALLING, Integer.MAX_VALUE, 3));
player.setHealthScale(0.25);
player.setHealth(2.5);
}, 5);
}