Ported to 1.7.10 (Forge 1180)

Literally one line of code needed to be changed :)