ソースを参照

Merge pull request #66 from zarie/patch-1

Example fix, for issue: "{raid-boss-name} died and dropped 0 {item-name}" (when AutoLoot = true)
Zoey76 9 年 前
コミット
94d8889317

+ 1 - 1
L2J_Server/java/com/l2jserver/gameserver/model/actor/L2Attackable.java

@@ -989,7 +989,7 @@ public class L2Attackable extends L2Npc
 				}
 				
 				// Broadcast message if RaidBoss was defeated
-				if (isRaid() && !isRaidMinion())
+				if (isRaid() && !isRaidMinion() && drop.getCount() > 0)
 				{
 					final SystemMessage sm = SystemMessage.getSystemMessage(SystemMessageId.C1_DIED_DROPPED_S3_S2);
 					sm.addCharName(this);