Fix changing map not updating players list in GUI

This commit is contained in:
UnknownShadow200 2018-05-05 15:01:32 +10:00
parent 1e214059fc
commit 04252fc09c
2 changed files with 2 additions and 1 deletions

View File

@ -183,6 +183,7 @@ namespace MCGalaxy.Gui {
void Player_OnJoinedLevel(Player p, Level prevLevel, Level lvl) {
RunOnUI_Async(() => {
Main_UpdateMapList();
Main_UpdatePlayersList();
Players_UpdateSelected();
});
}

View File

@ -25,7 +25,7 @@ namespace MCGalaxy.Commands.Misc {
public override string type { get { return CommandTypes.Other; } }
public override bool museumUsable { get { return false; } }
public override LevelPermission defaultRank { get { return LevelPermission.Operator; } }
public override bool SuperUseable { get { return false; } }
public override bool SuperUseable { get { return false; } }
public override CommandAlias[] Aliases {
get { return new[] { new CommandAlias("Fetch"), new CommandAlias("Bring"), new CommandAlias("BringAll", "all") }; }
}