Added notice to legacy permissions instance in main class

This commit is contained in:
Tim Visée 2015-11-21 19:18:56 +01:00
parent b3d0a71dec
commit 30b4cfe44e
2 changed files with 2 additions and 3 deletions

View File

@ -96,7 +96,7 @@ public class AuthMe extends JavaPlugin {
public boolean delayedAntiBot = true;
// Hooks TODO: move into modules
public Permission vaultGroupManagement;
public Permission vaultGroupManagement; // TODO: Remove this instance, and replace every usage with permissions manager!
public Essentials ess;
public MultiverseCore multiverse;
public CombatTagPlus combatTagPlus;

View File

@ -177,8 +177,7 @@ public class DataManager {
* @param cleared List<String>
* @param permission Permission
*/
public synchronized void purgePermissions(List<String> cleared,
Permission permission) {
public synchronized void purgePermissions(List<String> cleared, Permission permission) {
int i = 0;
for (String name : cleared) {
try {