Compare lore string with equals() instead of with ==