Made it more compatible for future Minecraft Releases