mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-11 21:57:40 +00:00
Party Objects only completed by Leader
This commit is contained in:
1 parent
523059aac3
commit
71202b9883
2 files changed
+2
-4
No files matched your search
@@ -412,6 +412,8 @@ public class ServerEventsHandler {
|
||||
|
||||
String name = EntityList.getEntityString(entity);
|
||||
QuestKill quest = (QuestKill) data.quest.questInterface;
|
||||
if(data.quest.partyOptions.objectiveRequirement == EnumPartyObjectives.Leader && !party.getLeaderUUID().equals(player.getUniqueID()))
|
||||
return;
|
||||
|
||||
Class entityType = EntityNPCInterface.class;
|
||||
if (quest.targetType == 2) {
|
||||
|
||||
Reference in new issue
Block a user