Package net.citizensnpcs.api.event

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

Related Classes of net.citizensnpcs.api.event.CitizensEnableTypeEvent

Copyright © 2018 www.massapicom. 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.