Fix crash (forge update 1246)