Skip to content

Commit

Permalink
Update AssaultRepairCommand.java
Browse files Browse the repository at this point in the history
  • Loading branch information
TylerS1066 committed Jul 9, 2024
1 parent 9b24837 commit 593f607
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public boolean onCommand(@NotNull CommandSender commandSender, Command command,
}

String regionName = args[0];
if (MovecraftWorldGuard.getInstance().getWGUtils().regionExists(regionName, player.getWorld())) {
if (!MovecraftWorldGuard.getInstance().getWGUtils().regionExists(regionName, player.getWorld())) {
player.sendMessage(
MOVECRAFT_COMMAND_PREFIX + I18nSupport.getInternationalisedString("Assault - Region Not Found"));
return true;
Expand Down

0 comments on commit 593f607

Please sign in to comment.