Replaced reflective invokation of private super method with copy of mojang code