mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2024-12-28 12:47:36 +00:00
seth kelly
This commit is contained in:
parent
c936759b6c
commit
090c445aa9
@ -124,7 +124,7 @@ public enum ConfigEntry
|
||||
SHOP_PRICES_CLOWN_FISH(Integer.class, "shop.prices.clown_fish"),
|
||||
//
|
||||
STAFFLIST_CLEAN_THESHOLD_HOURS(Integer.class, "stafflist.clean_threshold_hours"),
|
||||
STAFFLIST_CONSOLE_IS_SENIOR(Boolean.class, "stafflist.console_is_senior"),
|
||||
STAFFLIST_CONSOLE_IS_ADMIN(Boolean.class, "stafflist.console_is_admin"),
|
||||
//
|
||||
COREPROTECT_MYSQL_ENABLED(Boolean.class, "coreprotect.enabled"),
|
||||
COREPROTECT_MYSQL_HOST(String.class, "coreprotect.host"),
|
||||
|
@ -119,7 +119,7 @@ public class RankManager extends FreedomService
|
||||
// CONSOLE?
|
||||
if (sender.getName().equals("CONSOLE"))
|
||||
{
|
||||
return ConfigEntry.STAFFLIST_CONSOLE_IS_SENIOR.getBoolean() ? Rank.ADMIN_CONSOLE : Rank.MOD_CONSOLE;
|
||||
return ConfigEntry.STAFFLIST_CONSOLE_IS_ADMIN.getBoolean() ? Rank.ADMIN_CONSOLE : Rank.MOD_CONSOLE;
|
||||
}
|
||||
|
||||
// Console admin, get by name
|
||||
|
Loading…
Reference in New Issue
Block a user