Class CitizensDisabled

java.lang.Object
com.ryandw11.structure.citizens.CitizensDisabled
All Implemented Interfaces:
CitizensNpcHook

public class CitizensDisabled extends Object implements CitizensNpcHook
Dummy implementation for when the "Citizen" plugin is not available.
  • Constructor Details

    • CitizensDisabled

      public CitizensDisabled()
  • Method Details

    • spawnNpc

      public void spawnNpc(NpcHandler npcHandler, String alias, org.bukkit.Location loc)
      Spawns a Citizen NPC.
      Specified by:
      spawnNpc in interface CitizensNpcHook
      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.