If Kill Quest is ONLY Party then Skip on normal check

This commit is contained in:
Kam committed 2024-03-04 05:17:27 -05:00
1 parent 64d8d00fad
commit 1484cca7de
1 file changed
+3
@@ -344,6 +344,9 @@ public class ServerEventsHandler {
if(partyQuest != null && partyQuest.getId() == data.quest.getId())
continue;
if(data.quest.partyOptions.allowParty && data.quest.partyOptions.onlyParty)
continue;
if(data.quest.type == EnumQuestType.AreaKill && all){
List<EntityPlayer> list = player.worldObj.getEntitiesWithinAABB(EntityPlayer.class, entity.boundingBox.expand(10, 10, 10));
for(EntityPlayer pl : list)