SteamWar/BauSystem2.0
Archiviert
12
0

Fix WarpCommand.deleteWarp
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful

Signed-off-by: yoyosource <yoyosource@nidido.de>
Dieser Commit ist enthalten in:
yoyosource 2021-11-30 20:39:58 +01:00
Ursprung f91bdd3c5e
Commit fe4060ce92

Datei anzeigen

@ -98,7 +98,7 @@ public class WarpCommand extends SWCommand implements Disable, Enable {
@Register("delete") @Register("delete")
public void deleteWarp(Player player, Warp warp) { public void deleteWarp(Player player, Warp warp) {
if (permissionCheck(player)) return; if (!permissionCheck(player)) return;
warp.delete(); warp.delete();
BauSystem.MESSAGE.send("WARP_DELETED", player, warp.getName()); BauSystem.MESSAGE.send("WARP_DELETED", player, warp.getName());
} }