mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-17 23:55:10 +00:00
Function added
NpcAPI: -Added stopServer() function.
This commit is contained in:
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();
|
||||
|
||||
@@ -43,6 +43,8 @@ public abstract class AbstractNpcAPI {
|
||||
public AbstractNpcAPI() {
|
||||
}
|
||||
|
||||
public abstract void stopServer();
|
||||
|
||||
public abstract IFactionHandler getFactions();
|
||||
|
||||
public abstract IRecipeHandler getRecipes();
|
||||
|
||||
Reference in new issue
Block a user