SteamWar/BauSystem2.0
Archiviert
12
0

Fix NightVisionCommand
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful

Signed-off-by: yoyosource <yoyosource@nidido.de>
Dieser Commit ist enthalten in:
yoyosource 2022-03-05 12:16:09 +01:00
Ursprung d4a7556b73
Commit a30d5c2fb0

Datei anzeigen

@ -35,7 +35,7 @@ public class NightVisionCommand extends SWCommand {
super("nightvision", "nv", "light"); super("nightvision", "nv", "light");
} }
@Register(description = "VISION_COMMAND_HELP") @Register(description = "NIGHT_VISION_HELP")
public void genericCommand(Player p) { public void genericCommand(Player p) {
if (p.hasPotionEffect(PotionEffectType.NIGHT_VISION)) { if (p.hasPotionEffect(PotionEffectType.NIGHT_VISION)) {
p.removePotionEffect(PotionEffectType.NIGHT_VISION); p.removePotionEffect(PotionEffectType.NIGHT_VISION);