Package net.citizensnpcs.wizards

Examples of net.citizensnpcs.wizards.WizardTask.addID()


        if (!event.getToggledType().equals("wizard")) {
            return;
        }
        WizardTask task = new WizardTask(event.getNPC());
        if (event.isToggledOn()) {
            task.addID(Bukkit
                    .getServer()
                    .getScheduler()
                    .scheduleSyncRepeatingTask(Citizens.plugin, task, Settings.getInt("WizardManaRegenRate"),
                            Settings.getInt("WizardManaRegenRate")));
        } else {
View Full Code Here


            return;
        }
        for (HumanNPC entry : CitizensManager.getList().values()) {
            if (entry.isType("wizard")) {
                WizardTask task = new WizardTask(entry);
                task.addID(Bukkit
                        .getServer()
                        .getScheduler()
                        .scheduleSyncRepeatingTask(Citizens.plugin, task, Settings.getInt("WizardManaRegenRate"),
                                Settings.getInt("WizardManaRegenRate")));
            }
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.