Many changes for TFM 5.0

Refractoring
Reworked /saconfig
Reworked part of the command system
Removed unused config sections
Refractored part of the config
Fixed bugs with admin list
Actually allow CONSOLE to have senior perms
This commit is contained in:
JeromSar
2016-03-02 20:28:01 +01:00
parent 19ced05110
commit 055973aa37
143 changed files with 939 additions and 954 deletions

View File

@ -212,7 +212,7 @@ public class RollbackManager extends FreedomService
final int testZ = location.getBlockZ();
final String testWorldName = location.getWorld().getName();
List<RollbackEntry> entries = new ArrayList<RollbackEntry>();
List<RollbackEntry> entries = new ArrayList<>();
for (String playername : history.keySet())
{
for (RollbackEntry entry : history.get(playername.toLowerCase()))
@ -268,7 +268,7 @@ public class RollbackManager extends FreedomService
List<RollbackEntry> playerEntryList = history.get(playerName.toLowerCase());
if (playerEntryList == null)
{
playerEntryList = new ArrayList<RollbackEntry>();
playerEntryList = new ArrayList<>();
history.put(playerName.toLowerCase(), playerEntryList);
}
return playerEntryList;