use of me.totalfreedom.totalfreedommod.TotalFreedomMod in project TotalFreedomMod by TotalFreedom.
the class Admin method setActive.
public void setActive(boolean active) {
this.active = active;
final TotalFreedomMod plugin = TotalFreedomMod.plugin();
if (!active) {
if (getRank().isAtLeast(Rank.TELNET_ADMIN)) {
if (plugin.btb != null) {
plugin.btb.killTelnetSessions(getName());
}
}
plugin.lv.updateLogsRegistration(null, getName(), LogsRegistrationMode.DELETE);
}
}
Aggregations