505152535455565758596061
try { Class<?> c = Class.forName(penaltyBasePackage + "." + effect.toLowerCase()); try { IEffect pentalty = (IEffect) c.newInstance(); pentalty.registerConfig(config, cat + "." + effect); effctList[i] = pentalty; i++; } catch (Exception e) {