Skip to content

Commit

Permalink
Add new API for setting default NPCDataStore
Browse files Browse the repository at this point in the history
  • Loading branch information
fullwall committed Jan 17, 2019
1 parent fe418b5 commit ee40924
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions src/main/java/net/citizensnpcs/api/CitizensPlugin.java
Expand Up @@ -2,14 +2,14 @@

import java.io.File;

import org.bukkit.plugin.Plugin;

import net.citizensnpcs.api.ai.speech.SpeechFactory;
import net.citizensnpcs.api.npc.NPCDataStore;
import net.citizensnpcs.api.npc.NPCRegistry;
import net.citizensnpcs.api.npc.NPCSelector;
import net.citizensnpcs.api.trait.TraitFactory;

import org.bukkit.plugin.Plugin;

public interface CitizensPlugin extends Plugin {
/**
* @param The
Expand Down Expand Up @@ -76,4 +76,12 @@ public interface CitizensPlugin extends Plugin {
* Removes the named NPCRegistry with the given name.
*/
public void removeNamedNPCRegistry(String name);

/**
* Sets the default NPC data store. Should be set during onEnable.
*
* @param The
* new default store
*/
public void setDefaultNPCDataStore(NPCDataStore store);
}

0 comments on commit ee40924

Please sign in to comment.