Proper admin create item inventory update.
This commit is contained in:
		@@ -304,7 +304,7 @@ public class AdminCreateItem implements IAdminCommandHandler
 | 
			
		||||
			return;
 | 
			
		||||
		}
 | 
			
		||||
		
 | 
			
		||||
		target.getInventory().addItem("Admin", id, num, activeChar, null);
 | 
			
		||||
		target.getInventory().addItem("Admin", id, num, target, activeChar);
 | 
			
		||||
		if (activeChar != target)
 | 
			
		||||
		{
 | 
			
		||||
			target.sendMessage("Admin spawned " + num + " " + template.getName() + " in your inventory.");
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user