Index: binary-improvements/7dtd-server-fixes/src/CustomCommands/ShowInventory.cs
===================================================================
--- binary-improvements/7dtd-server-fixes/src/CustomCommands/ShowInventory.cs	(revision 144)
+++ binary-improvements/7dtd-server-fixes/src/CustomCommands/ShowInventory.cs	(revision 145)
@@ -29,5 +29,5 @@
 				}
 
-				string steamid = PersistentContainer.Instance.Players.GetSteamID(_params[0], true);
+				string steamid = PersistentContainer.Instance.Players.GetSteamID (_params [0], true);
 				if (steamid == null) {
 					m_Console.SendResult ("Playername or entity/steamid id not found or no inventory saved (first saved after a player has been online for 30s).");
@@ -35,22 +35,17 @@
 				}
 
-				Log.Out ( "SteamID: " + steamid);
-
-				Player p = PersistentContainer.Instance.Players[steamid];
-
-				Log.Out ("Player");
-
+				Player p = PersistentContainer.Instance.Players [steamid];
 				PersistentData.Inventory inv = p.Inventory;
-
-				Log.Out ("Inv");
 
 				m_Console.SendResult ("Belt of player:");
 				for (int i = 0; i < inv.belt.Count; i++) {
-					m_Console.SendResult (string.Format ("    Slot {0}: {1:000} * {2}", i, inv.belt[i].count, inv.belt[i].itemName));
+					if (inv.belt [i] != null)
+						m_Console.SendResult (string.Format ("    Slot {0}: {1:000} * {2}", i, inv.belt [i].count, inv.belt [i].itemName));
 				}
 				m_Console.SendResult (string.Empty);
 				m_Console.SendResult ("Bagpack of player:");
 				for (int i = 0; i < inv.bag.Count; i++) {
-					m_Console.SendResult (string.Format ("    Slot {0}: {1:000} * {2}", i, inv.bag[i].count, inv.bag[i].itemName));
+					if (inv.bag [i] != null)
+						m_Console.SendResult (string.Format ("    Slot {0}: {1:000} * {2}", i, inv.bag [i].count, inv.bag [i].itemName));
 				}
 				m_Console.SendResult (string.Empty);
