mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-11 21:57:40 +00:00
Remove AreaKill for Parties
This commit is contained in:
1 parent
71202b9883
commit
6e59aa3a27
1 file changed
-13
@@ -397,19 +397,6 @@ public class ServerEventsHandler {
|
||||
if (data.quest.type != EnumQuestType.Kill && data.quest.type != EnumQuestType.AreaKill)
|
||||
return;
|
||||
|
||||
// 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) {
|
||||
// if (pl != player) {
|
||||
// if(party == null){
|
||||
// doQuest(pl, entity, false);
|
||||
// } else if(!party.hasPlayer(pl.getUniqueID())){
|
||||
// doQuest(pl, entity, false);
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
|
||||
String name = EntityList.getEntityString(entity);
|
||||
QuestKill quest = (QuestKill) data.quest.questInterface;
|
||||
if(data.quest.partyOptions.objectiveRequirement == EnumPartyObjectives.Leader && !party.getLeaderUUID().equals(player.getUniqueID()))
|
||||
|
||||
Reference in new issue
Block a user