Skip to content

Commit

Permalink
Update to latest Slate for proper folia support in menus
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikSzabo committed Oct 25, 2024
1 parent 6c45092 commit 6692354
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@
import dev.aurelium.auraskills.common.message.type.CommandMessage;
import dev.aurelium.auraskills.common.migration.MigrationManager;
import dev.aurelium.auraskills.common.reward.RewardManager;
import dev.aurelium.auraskills.common.scheduler.Scheduler;
import dev.aurelium.auraskills.common.skill.SkillLoader;
import dev.aurelium.auraskills.common.skill.SkillManager;
import dev.aurelium.auraskills.common.skill.SkillRegistry;
Expand All @@ -97,6 +96,7 @@
import dev.aurelium.auraskills.common.util.file.FileUtil;
import dev.aurelium.slate.Slate;
import dev.aurelium.slate.inv.InventoryManager;
import dev.aurelium.slate.scheduler.Scheduler;
import net.kyori.adventure.platform.bukkit.BukkitAudiences;
import org.bstats.bukkit.Metrics;
import org.bukkit.Bukkit;
Expand Down Expand Up @@ -223,7 +223,7 @@ public void onEnable() {
leaderboardManager = new LeaderboardManager(this);
uiProvider = new BukkitUiProvider(this);
modifierManager = new BukkitModifierManager(this);
inventoryManager = new InventoryManager(this);
inventoryManager = new InventoryManager(this, Scheduler.createScheduler(this));
inventoryManager.init();
rewardManager = new BukkitRewardManager(this); // Loaded later
lootTableManager = new LootTableManager(this); // Loaded later
Expand Down

0 comments on commit 6692354

Please sign in to comment.