Switch main content to a proper logger

Need to figure out what to keep from old API and move that over as well.
This commit is contained in:
Nicholas Ignoffo 2017-08-20 16:16:13 -07:00
parent 36ce215b6b
commit acc0acb806
8 changed files with 18 additions and 17 deletions

View file

@ -120,11 +120,11 @@ public class HarvestHandlerPlantable implements IHarvestHandler {
HarvestRegistry.registerStandardCrop(crop, crop.getMaxAge());
}
} catch (NoSuchMethodException e) {
BloodMagic.instance.logger.error("HarvestCraft integration cancelled; unable to find crop name mapper");
BloodMagic.LOGGER.error("HarvestCraft integration cancelled; unable to find crop name mapper");
} catch (IllegalAccessException e) {
BloodMagic.instance.logger.error("HarvestCraft integration cancelled; crop name lookup broke");
BloodMagic.LOGGER.error("HarvestCraft integration cancelled; crop name lookup broke");
} catch (InvocationTargetException e) {
BloodMagic.instance.logger.error("HarvestCraft integration cancelled; crop name lookup broke");
BloodMagic.LOGGER.error("HarvestCraft integration cancelled; crop name lookup broke");
}
}
}