Fixed bugs

This commit is contained in:
Sam 2017-09-10 00:09:17 +01:00
parent 218484c8d5
commit 2467b7d6ac
2 changed files with 4 additions and 4 deletions

View File

@ -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()

View File

@ -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);
}
}