mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 04:57:27 +00:00
If Kill Quest is ONLY Party then Skip on normal check
This commit is contained in:
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)
|
||||
|
||||
Reference in new issue
Block a user