1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-10-02 00:56:55 +02:00

Updated Essentials to work with R5

This commit is contained in:
snowleo
2012-02-21 17:33:46 +01:00
parent 3b81593ebb
commit f46948249e
22 changed files with 130 additions and 192 deletions

View File

@@ -36,7 +36,7 @@ public class UserManager implements IConf
public final String getUserByAddress(final String search)
{
final List<String> usernames = users.getKeys(null);
final Set<String> usernames = users.getKeys(false);
for (String username : usernames)
{
final String address = users.getString(username + "." + ADDRESS, null);
@@ -73,7 +73,7 @@ public class UserManager implements IConf
{
users.load();
spyusers.clear();
final List<String> keys = users.getKeys(null);
final Set<String> keys = users.getKeys(false);
for (String key : keys)
{
if (isSpy(key))