Fix a couple lines using == instead of .equals()

I was going to use this generator as part of the Aether in my plugin when I stumbled across these two lines which were mistakes.