Skip to content

Commit

Permalink
fix(forge16): stop erroring due to missing platform handler
Browse files Browse the repository at this point in the history
  • Loading branch information
danorris709 committed May 16, 2024
1 parent 0ca5c78 commit 8010ab9
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@
import com.envyful.api.forge.command.parser.ForgeAnnotationCommandParser;
import com.envyful.api.forge.concurrency.ForgeTaskBuilder;
import com.envyful.api.forge.gui.factory.ForgeGuiFactory;
import com.envyful.api.forge.platform.ForgePlatformHandler;
import com.envyful.api.forge.player.ForgePlayerManager;
import com.envyful.api.gui.factory.GuiFactory;
import com.envyful.api.platform.PlatformProxy;
import com.envyful.api.player.SaveMode;
import com.envyful.api.player.save.impl.JsonSaveManager;
import com.envyful.better.dex.rewards.forge.command.BetterDexRewardsCommand;
Expand Down Expand Up @@ -54,6 +56,7 @@ public class BetterDexRewards {
private boolean placeholders;

public BetterDexRewards() {
PlatformProxy.setHandler(ForgePlatformHandler.getInstance());
RankComparatorRegistry.init();
UtilLogger.setLogger(LOGGER);
instance = this;
Expand Down

0 comments on commit 8010ab9

Please sign in to comment.