private void CloseCraftingTable() { mCraftingWindow?.Close(); mCraftingWindow = null; Globals.InCraft = false; PacketSender.SendCloseCrafting(); }
public void OpenCraftingTable() { if (mCraftingWindow != null) { mCraftingWindow.Close(); } mCraftingWindow = new CraftingWindow(GameCanvas); mShouldOpenCraftingTable = false; Globals.InCraft = true; }
private void CloseCraftingTable() { mCraftingWindow?.Close(); mCraftingWindow = null; Globals.InCraft = false; }