mirror of
https://github.com/EngineHub/WorldGuard.git
synced 2024-11-23 11:06:13 +01:00
Fix case-sensitivity when checking membership.
Probably.
This commit is contained in:
parent
dbbc31a4f4
commit
fc0be7db09
@ -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());
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user