mirror of
https://github.com/CivMC/Civ.git
synced 2026-07-18 00:20:44 +00:00
Add icon
Dependant on: https://github.com/CivClassic/CivModCore/pull/65
This commit is contained in:
@@ -51,7 +51,7 @@ public class StreakManager {
|
||||
receiveRewards = new BooleanSetting(plugin, true, "Receive essence", "essenceGlueReceiveEssence",
|
||||
"Whether you will receive essence on this account");
|
||||
MenuSection menu = PlayerSettingAPI.getMainMenu().createMenuSection("Essence",
|
||||
"Essence and voting related settings");
|
||||
"Essence and voting related settings", new ItemStack(Material.ENDER_EYE));
|
||||
PlayerSettingAPI.registerSetting(receiveRewards, menu);
|
||||
Bukkit.getScheduler().runTaskTimer(plugin, this::updateAll, 20 * 60L, 20 * 60L);
|
||||
this.streakDelay = streakDelay;
|
||||
|
||||
Reference in New Issue
Block a user