seth kelly

This commit is contained in:
Telesphoreo 2020-08-16 22:33:35 -05:00
parent c936759b6c
commit 090c445aa9
2 changed files with 2 additions and 2 deletions

View File

@ -124,7 +124,7 @@ public enum ConfigEntry
SHOP_PRICES_CLOWN_FISH(Integer.class, "shop.prices.clown_fish"), SHOP_PRICES_CLOWN_FISH(Integer.class, "shop.prices.clown_fish"),
// //
STAFFLIST_CLEAN_THESHOLD_HOURS(Integer.class, "stafflist.clean_threshold_hours"), 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_ENABLED(Boolean.class, "coreprotect.enabled"),
COREPROTECT_MYSQL_HOST(String.class, "coreprotect.host"), COREPROTECT_MYSQL_HOST(String.class, "coreprotect.host"),

View File

@ -119,7 +119,7 @@ public class RankManager extends FreedomService
// CONSOLE? // CONSOLE?
if (sender.getName().equals("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 // Console admin, get by name