mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-22 03:52:18 +00:00
Fixes to Ability Load, Reference Handling
This commit is contained in:
1 parent
ead3c5944c
commit
a49df51ad9
8 files changed
+181
-12
No files matched your search
@@ -536,7 +536,10 @@ public abstract class GuiNPCInterface extends GuiScreen {
|
||||
pendingSubGuiResult = null;
|
||||
handler.accept(gui);
|
||||
}
|
||||
subgui = null;
|
||||
// Only null out subgui if it wasn't replaced by a new one during subGuiClosed
|
||||
if (subgui == gui) {
|
||||
subgui = null;
|
||||
}
|
||||
initGui();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user