//Listen on bus for commands
ClientAPI.Event.RegisterEventBusListener(CommandListener, 1.0, AutomapSystem.AutomapCommandEventKey);
-
-
- if (configuration.Autostart)
- {
- CurrentState = CommandType.Run;
- Logger.Notification("Autostart is Enabled.");
- }
-
}
};
ClientAPI.Event.RegisterGameTickListener(ThreadDecider, 6000);
+
+ if (configuration.Autostart) {
+ CurrentState = CommandType.Run;
+ }
}
private void ChunkAChanging(Vec3i chunkCoord, IWorldChunk chunk, EnumChunkDirtyReason reason)
}
return null;
- }
+ }
}
}