Package com.ryandw11.structure.citizens
Class CitizensDisabled
java.lang.Object
com.ryandw11.structure.citizens.CitizensDisabled
- All Implemented Interfaces:
CitizensNpcHook
Dummy implementation for when the "Citizen" plugin is not available.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
spawnNpc(NpcHandler npcHandler, String alias, org.bukkit.Location loc)
Spawns a Citizen NPC.
-
Constructor Details
-
CitizensDisabled
public CitizensDisabled()
-
-
Method Details
-
spawnNpc
Spawns a Citizen NPC.- Specified by:
spawnNpc
in interfaceCitizensNpcHook
- Parameters:
npcHandler
- The handler for the NPC config.alias
- The alias of the NPC in the "npc" configuration file.loc
- The location where to spawn the NPC.
-