mirror of
https://github.com/EngineHub/WorldGuard.git
synced 2024-11-27 04:55:37 +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
|
@Override
|
||||||
public boolean contains(LocalPlayer player) {
|
public boolean contains(LocalPlayer player) {
|
||||||
checkNotNull(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