public override void Load() { // this makes sure that the UI doesn't get opened on the server // the server can't see UI, can it? it's just a command prompt if (!Main.dedServ) { EditWandHotKey = RegisterHotKey("Open Wand Interface", "Y"); MyInterface = new UserInterface(); MyUIstate = new WandEditorUI(); MyUIstate.Activate(); MyInterface.SetState(MyUIstate); GFX.LoadGfx(); } }