added static modifiers where applicable
fixed calls to getUniqueId() to remove hyphens
removed unnecessary else statements
fixed NullPointerException during loading of inventory from disk