Adena InventoryUpdate based on new adena count.
This commit is contained in:
		@@ -3131,7 +3131,14 @@ public class Player extends Playable
 | 
			
		||||
			if (!Config.FORCE_INVENTORY_UPDATE)
 | 
			
		||||
			{
 | 
			
		||||
				final InventoryUpdate iu = new InventoryUpdate();
 | 
			
		||||
				iu.addItem(_inventory.getAdenaInstance());
 | 
			
		||||
				if (count == getAdena())
 | 
			
		||||
				{
 | 
			
		||||
					iu.addNewItem(_inventory.getAdenaInstance());
 | 
			
		||||
				}
 | 
			
		||||
				else
 | 
			
		||||
				{
 | 
			
		||||
					iu.addModifiedItem(_inventory.getAdenaInstance());
 | 
			
		||||
				}
 | 
			
		||||
				sendInventoryUpdate(iu);
 | 
			
		||||
			}
 | 
			
		||||
			else
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user