Updated a few codes (not...)

There is an error in this code that causes Minecraft to crash. I'm new to programming forge and am having a hard time debugging, so I'm gonna leave this to a good soul passing by this repo.