diff --git a/src/main/java/com/sk89q/worldguard/domains/PlayerDomain.java b/src/main/java/com/sk89q/worldguard/domains/PlayerDomain.java index baff13b6..7958e517 100644 --- a/src/main/java/com/sk89q/worldguard/domains/PlayerDomain.java +++ b/src/main/java/com/sk89q/worldguard/domains/PlayerDomain.java @@ -145,7 +145,7 @@ public void removePlayer(LocalPlayer player) { @Override public boolean contains(LocalPlayer player) { checkNotNull(player); - return contains(player.getName()) || contains(player.getUniqueId()); + return contains(player.getName().trim().toLowerCase()) || contains(player.getUniqueId()); } /**