clean-up & bug fixes
This commit is contained in:
parent
117d87add5
commit
c4b8f989ef
File diff suppressed because it is too large
Load Diff
|
@ -103,9 +103,9 @@ public class OnBanEvent implements Listener
|
|||
|
||||
InputStream inputStream = new FileInputStream(UserList.getUserListFile());
|
||||
|
||||
Map<String, List<String>> testObject = userYaml.load(inputStream);
|
||||
Map<String, List<String>> userListObject = userYaml.load(inputStream);
|
||||
|
||||
for(Map.Entry<String, List<String>> entry : testObject.entrySet())
|
||||
for(Map.Entry<String, List<String>> entry : userListObject.entrySet())
|
||||
{
|
||||
for(int i = 0; i < entry.getValue().size(); i++)
|
||||
{
|
||||
|
@ -115,6 +115,7 @@ public class OnBanEvent implements Listener
|
|||
targetDiscordId = entry.getKey();
|
||||
targetWhitelistedPlayers = entry.getValue();
|
||||
idFound = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue