Added checks for Forge version to fix serverside crashes.