Begin refactoring RTP

This commit is contained in:
zontreck 2025-03-07 14:10:41 -07:00
parent 70fe822b0a
commit 89e4835216
5 changed files with 146 additions and 27 deletions

View file

@ -18,7 +18,7 @@ namespace AriasServerUtils
{
public static string MOD_ID = "ariasserverutils";
public static ASUModConfig config = new ASUModConfig();
private static ICoreServerAPI API;
internal static ICoreServerAPI API;
private static bool bDirty = false;
internal static Dictionary<string, PlayerInventory> backupInventory = new Dictionary<string, PlayerInventory>();
@ -79,6 +79,7 @@ namespace AriasServerUtils
api.Event.PlayerDeath += OnPlayerDeath;
api.Event.PlayerJoin += OnPlayerJoin;
api.Event.PlayerDisconnect += OnPlayerDC;
api.Event.ChunkColumnLoaded += RTPFactory.ChunkColumnGenerated;
//api.Event.PlayerLeave += OnPlayerDC;