Fix tests and game considering inventory changes on server.