-stopServer() calls initiateShutdown() instead of stopServer(), stops crashes on stop.
This commit is contained in:
Luis C.M committed 2022-06-13 21:31:42 -05:00
1 parent c7085f7acb
commit 5b3c6d9e3f
1 file changed
+1 -1
@@ -68,7 +68,7 @@ public class NpcAPI extends AbstractNpcAPI {
}
public void stopServer() {
CustomNpcs.getServer().stopServer();
CustomNpcs.getServer().initiateShutdown();
}
public IFactionHandler getFactions() {