Function added

NpcAPI:
-Added stopServer() function.
This commit is contained in:
Luis C.M committed 2022-05-31 18:54:11 -05:00
1 parent dccdb9636c
commit 213d69f146
2 files changed
+6

No files matched your search

@@ -66,6 +66,10 @@ public class NpcAPI extends AbstractNpcAPI {
worldCache.clear();
}
public void stopServer() {
CustomNpcs.getServer().stopServer();
}
public IFactionHandler getFactions() {
this.checkWorld();
return FactionController.getInstance();