core(fix): Fixes type aliasing, categorizations, and NPE (#444)

- [X] Fixes lookup of type aliases
- [X] Fixes categorization
- [X] Removes rebuild categorizations
- [X] Fixes an NPE with DoHarmful and Combatant

Closes #441
This commit is contained in:
Kamron Batman 2021-02-03 16:14:04 -08:00 committed by GitHub
parent 24ebdd0f90
commit 5d9ebf062f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
17 changed files with 3821 additions and 4881 deletions

View file

@ -253,8 +253,6 @@ namespace Server.Gumps
{
AddHtml(10, 125, 400, 20, Color(Center("Generating"), LabelColor32));
AddButtonLabeled(220, 150, GetButtonID(3, 107), "Rebuild Categorization");
AddButtonLabeled(20, 175, GetButtonID(3, 101), "Teleporters");
AddButtonLabeled(220, 175, GetButtonID(3, 102), "Moongates");
@ -2127,10 +2125,6 @@ namespace Server.Gumps
InvokeCommand("Decorate");
notice = "Decoration has been generated.";
break;
case 107:
InvokeCommand("RebuildCategorization");
notice = "Categorization menu has been regenerated. The server should be restarted.";
break;
case 110:
InvokeCommand("Freeze");