permission system

This commit is contained in:
ZeroEpoch1969
2020-04-13 23:40:22 -07:00
parent e23bfa7f87
commit bc8ff3cd7f
44 changed files with 662 additions and 378 deletions

View File

@ -4,7 +4,6 @@ import com.earth2me.essentials.Essentials;
import com.earth2me.essentials.User;
import me.totalfreedom.totalfreedommod.FreedomService;
import me.totalfreedom.totalfreedommod.TotalFreedomMod;
import me.totalfreedom.totalfreedommod.command.Command_vanish;
import me.totalfreedom.totalfreedommod.player.FPlayer;
import me.totalfreedom.totalfreedommod.rank.Rank;
import me.totalfreedom.totalfreedommod.util.FLog;
@ -40,7 +39,6 @@ public class EssentialsBridge extends FreedomService
@Override
protected void onStop()
{
Command_vanish.VANISHED.clear();
}
public Essentials getEssentialsPlugin()
@ -215,10 +213,6 @@ public class EssentialsBridge extends FreedomService
public void onPlayerQuit(PlayerQuitEvent event)
{
Player player = event.getPlayer();
if (Command_vanish.VANISHED.contains(player))
{
Command_vanish.VANISHED.remove(player);
}
}
public boolean isEnabled()