Fix "java.lang.NoSuchMethodError: no static method with name='getGoodUpgrades'"