fixed duplicate log and registered more classes

This commit is contained in:
Evil Factory
2021-08-05 15:26:37 -03:00
parent cdda8a2ffd
commit e5b1f1cf46
2 changed files with 15 additions and 4 deletions
@@ -87,6 +87,11 @@ namespace Barotrauma
{
GameMain.Server.BanClient(client, reason, range, TimeSpan.FromSeconds(seconds));
}
}
public static void UnbanPlayer(string player, string endpoint)
{
GameMain.Server.UnbanPlayer(player, endpoint);
}
@@ -110,6 +115,7 @@ namespace Barotrauma
}
}
}
public class LuaGame