Fix Party Crash

This commit is contained in:
somehussar committed 2025-12-19 20:39:54 +01:00
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;