This commit is contained in:
wizjany 2020-06-27 19:55:34 -04:00 committed by GitHub
parent 613406aab4
commit 74d8a4f0e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -645,7 +645,7 @@ public void flagHelper(CommandContext args, Actor sender) throws CommandExceptio
ProtectedRegion region;
if (args.argsLength() == 0) { // Get region from where the player is
if (!(sender instanceof LocalPlayer)) {
throw new CommandException("Please specify the region with /region info -w world_name region_name.");
throw new CommandException("Please specify the region with /region flags -w world_name region_name.");
}
region = checkRegionStandingIn(manager, (LocalPlayer) sender, true,