Fixed bugs
This commit is contained in:
parent
218484c8d5
commit
2467b7d6ac
@ -61,6 +61,9 @@ public class LevelingManager extends MiniDbClientPlugin<List<Integer>>
|
||||
|
||||
_rewards = new ArrayList<>(120);
|
||||
|
||||
populateRewards();
|
||||
generatePermissions();
|
||||
|
||||
new CommandBase<LevelingManager>(this, Perm.VIEW_LEVEL_MENU,"level")
|
||||
{
|
||||
@Override
|
||||
@ -69,9 +72,6 @@ public class LevelingManager extends MiniDbClientPlugin<List<Integer>>
|
||||
_shop.attemptShopOpen(caller);
|
||||
}
|
||||
};
|
||||
|
||||
populateRewards();
|
||||
generatePermissions();
|
||||
}
|
||||
|
||||
private void generatePermissions()
|
||||
|
@ -119,7 +119,7 @@ public class HubGameManager extends MiniPlugin
|
||||
{
|
||||
if (other instanceof CycledGame && ((CycledGame) other).getQueuedPlayers().remove(player))
|
||||
{
|
||||
leaveQueue(cycledGame, player);
|
||||
leaveQueue((CycledGame) other, player);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user