Party Objects only completed by Leader

This commit is contained in:
Kam committed 2024-03-04 03:59:11 -05:00
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) {