mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-11 23:07:37 +00:00
Fix Party Crash
This commit is contained in:
1 parent
2c91cd4286
commit
e767f4f46c
1 file changed
+2
@@ -433,6 +433,8 @@ public class ServerEventsHandler {
|
||||
return;
|
||||
|
||||
String name = EntityList.getEntityString(entity);
|
||||
if (entity instanceof EntityPlayer)
|
||||
name = "Player";
|
||||
QuestKill quest = (QuestKill) data.quest.questInterface;
|
||||
if (data.quest.partyOptions.objectiveRequirement == EnumPartyObjectives.Leader && !party.getLeaderUUID().equals(player.getUniqueID()))
|
||||
return;
|
||||
|
||||
Reference in new issue
Block a user