ported back to 1.6.2 to keep up with other mods