From 0fddd2a5730635c17fb41d8c1a6d09b6be546bd9 Mon Sep 17 00:00:00 2001 From: JOO200 Date: Tue, 26 Apr 2022 18:26:07 +0200 Subject: [PATCH] Fixed Typo in CommandException --- .../com/sk89q/worldguard/commands/region/RegionCommands.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/worldguard-core/src/main/java/com/sk89q/worldguard/commands/region/RegionCommands.java b/worldguard-core/src/main/java/com/sk89q/worldguard/commands/region/RegionCommands.java index a02c3726..9299ad02 100644 --- a/worldguard-core/src/main/java/com/sk89q/worldguard/commands/region/RegionCommands.java +++ b/worldguard-core/src/main/java/com/sk89q/worldguard/commands/region/RegionCommands.java @@ -1192,7 +1192,7 @@ public final class RegionCommands extends RegionCommandsBase { // TODO: Add some method to create a safe teleport location. // The method AbstractPlayerActor$findFreePoisition(Location loc) is no good way for this. // It doesn't return the found location and it can't be checked if the location is inside the region. - throw new CommandException("Center teleport is only availible in Spectator gamemode."); + throw new CommandException("Center teleport is only available in Spectator gamemode."); } } else { teleportLocation = FlagValueCalculator.getEffectiveFlagOf(existing, Flags.TELE_LOC, player);