Package net.citizensnpcs.questers.api.events

Examples of net.citizensnpcs.questers.api.events.QuestBeginEvent


                requirement.grant(player, UID);
        }
        for (Reward reward : quest.getInitialRewards()) {
            reward.grant(player, UID);
        }
        QuestBeginEvent call = new QuestBeginEvent(quest, player);
        Bukkit.getPluginManager().callEvent(call);
        if (call.isCancelled()) {
            return false;
        }
        getProfile(player.getName()).setProgress(
                new QuestProgress(UID, player, questName, System.currentTimeMillis()));
        Messaging.send(player, quest.getAcceptanceText());
View Full Code Here

TOP

Related Classes of net.citizensnpcs.questers.api.events.QuestBeginEvent

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.