CraftBookMechanic mech = mechClass.newInstance();
mech.loadConfiguration(mechanismsConfig, "mechanics." + mechanic + ".");
mechanics.add(mech);
if(!mech.enable()) {
getLogger().warning("Failed to enable mechanic: " + mech.getClass().getSimpleName());
mech.disable();
return false;
}
getServer().getPluginManager().registerEvents(mech, this);