소스 검색

Fixing a little typo causing item log to do not have reference of the
monster that item came from but the player again, so impossible to track
from where this item came from.

UnAfraid 10 년 전
부모
커밋
ca59beff09
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      L2J_Server/java/com/l2jserver/gameserver/model/L2Party.java

+ 1 - 1
L2J_Server/java/com/l2jserver/gameserver/model/L2Party.java

@@ -655,7 +655,7 @@ public class L2Party extends AbstractPlayerGroup
 		
 		L2PcInstance looter = getActualLooter(player, itemId, spoil, target);
 		
-		looter.addItem(spoil ? "Sweeper Party" : "Party", itemId, itemCount, player, true);
+		looter.addItem(spoil ? "Sweeper Party" : "Party", itemId, itemCount, target, true);
 		
 		// Send messages to other party members about reward
 		if (itemCount > 1)