Code cleanup
This commit is contained in:
@@ -276,8 +276,8 @@ public class Administration{
|
||||
}
|
||||
|
||||
private void load(){
|
||||
playerInfo = Settings.getObject("player-info", ObjectMap.class, () -> new ObjectMap<>());
|
||||
bannedIPs = Settings.getObject("banned-ips", Array.class, () -> new Array<>());
|
||||
playerInfo = Settings.getObject("player-info", ObjectMap.class, ObjectMap::new);
|
||||
bannedIPs = Settings.getObject("banned-ips", Array.class, Array::new);
|
||||
}
|
||||
|
||||
@Serialize
|
||||
|
||||
Reference in New Issue
Block a user