public ITreekeepingMode getTreekeepingMode(World world) {
if (activeTreekeepingMode != null)
return activeTreekeepingMode;
// No Treekeeping mode yet, item it.
IArboristTracker tracker = getBreedingTracker(world, null);
String mode = tracker.getModeName();
if (mode == null || mode.isEmpty())
mode = PluginArboriculture.treekeepingMode;
setTreekeepingMode(world, mode);
FMLCommonHandler.instance().getFMLLogger().debug("Set Treekeeping mode for a world to " + mode);