Skip to content

Commit

Permalink
fix(forge): move command to async
Browse files Browse the repository at this point in the history
  • Loading branch information
danorris709 committed Oct 3, 2021
1 parent c67ed09 commit 7615f53
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,6 @@ public class BetterDexRewardsCommand {

@CommandProcessor
public void onCommand(@Sender EntityPlayerMP player, String[] args) {
UtilForgeConcurrency.runSync(() -> {
DexRewardsMainUI.open(BetterDexRewards.getInstance().getPlayerManager().getPlayer(player));
});

DexRewardsMainUI.open(BetterDexRewards.getInstance().getPlayerManager().getPlayer(player));
}
}

0 comments on commit 7615f53

Please sign in to comment.