fixed warnings in Inventory.cpp
fixxed warnings in Server.cpp