Fixed inventory crash on dedicated server