This has to be done otherwise Minecraft gets an ArithmeticException divide by zero