When comparing strings (and other objects as well) you should use the equals() function, for example
if ( jewel.equals(material+" ring") ){//don't forget the space in " ring"
//do...
Type: Posts; User: copeg
When comparing strings (and other objects as well) you should use the equals() function, for example
if ( jewel.equals(material+" ring") ){//don't forget the space in " ring"
//do...