Fix case-sensitivity when checking membership.

Probably.
This commit is contained in:
Wizjany 2015-06-26 14:50:09 -04:00
parent dbbc31a4f4
commit fc0be7db09

View File

@ -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());
}
/**