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:45:21 +01:00
Ursprung 412d348b43
Commit 2070c8b850

Datei anzeigen

@ -51,7 +51,8 @@ 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.setHealth(2.5);
player.setHealth(0.5);
player.setHealthScale(0.5);
}, 5);
}
@ -62,7 +63,8 @@ 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.setHealth(2.5);
player.setHealth(0.5);
player.setHealthScale(0.5);
}, 5);
}