Package net.citizensnpcs.healers

Examples of net.citizensnpcs.healers.HealerTask.cancel()


        if (event.isToggledOn()) {
            int delay = healer.getHealthRegenRate();
            task.addID(Bukkit.getServer().getScheduler().scheduleSyncRepeatingTask(Citizens.plugin, task, delay, delay));
        } else {
            if ((task = HealerTask.getTask(event.getNPC().getUID())) != null) {
                task.cancel();
            }
        }
    }
}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.