Przeglądaj źródła

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 lat temu
rodzic
commit
ca59beff09

+ 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)