Examples of CitizensEnableTypeEvent


Examples of net.citizensnpcs.api.event.CitizensEnableTypeEvent

        for (String f : dir.list()) {
            if (f.contains(".jar")) {
                CitizensNPCType type = CitizensNPCLoader.loadNPCType(new File(dir, f), this);
                if (type != null) {
                    loadedTypes.add(type.getName());
                    Bukkit.getPluginManager().callEvent(new CitizensEnableTypeEvent(type));
                }
            }
        }
        if (loadedTypes.size() > 0) {
            Messaging.log("NPC types loaded: " + Joiner.on(", ").join(loadedTypes));
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.