Explorar el Código

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 hace 10 años
padre
commit
ca59beff09
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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)