Removed a no more necessary toLowerCase call.
Refactoring and cleanup for the WorldInventories class.