Class ProtectionRegenTask

java.lang.Object
com.palmergames.bukkit.towny.tasks.TownyTimerTask
com.palmergames.bukkit.towny.tasks.ProtectionRegenTask
All Implemented Interfaces:
Runnable

public class ProtectionRegenTask extends TownyTimerTask
  • Constructor Details

    • ProtectionRegenTask

      public ProtectionRegenTask(Towny plugin, org.bukkit.block.Block block)
  • Method Details

    • run

      public void run()
    • replaceProtections

      public void replaceProtections()
    • getBlockLocation

      public BlockLocation getBlockLocation()
      Returns:
      the blockLocation
    • getState

      public org.bukkit.block.BlockState getState()
    • getTask

      public ScheduledTask getTask()
    • setTask

      public void setTask(ScheduledTask task)