Explorar el Código

forgot in [3336]

janiii hace 16 años
padre
commit
2eade58097

+ 2 - 2
L2_GameServer/java/net/sf/l2j/gameserver/model/entity/Auction.java

@@ -299,7 +299,7 @@ public class Auction
 	}
 	
 	/** Set a bid */
-	public void setBid(L2PcInstance bidder, int bid)
+	public synchronized void setBid(L2PcInstance bidder, int bid)
 	{
 		int requiredAdena = bid;
 		if (getHighestBidderName().equals(bidder.getClan().getLeaderName()))
@@ -512,7 +512,7 @@ public class Auction
 	}
 	
 	/** Cancel bid */
-	public void cancelBid(int bidder)
+	public synchronized void cancelBid(int bidder)
 	{
 		Connection con = null;
 		try