mirror of
https://github.com/GTNewHorizons/Mantle.git
synced 2026-11-28 15:36:13 +00:00
35 lines
519 B
Scala
35 lines
519 B
Scala
package mantle.compat.plugins
|
|
|
|
import mantle.compat.lib.CompatRepo._
|
|
|
|
/**
|
|
* Debug info plugin
|
|
*
|
|
* @author Sunstrike <[email protected]>
|
|
*/
|
|
object PluginDebug extends ICompatPlugin {
|
|
|
|
def providedMod: String = "Mantle-Compat"
|
|
|
|
def accept() {
|
|
log("Accepted by manager.")
|
|
}
|
|
|
|
def preInit() {
|
|
log("Reached preinit.")
|
|
}
|
|
|
|
def init() {
|
|
log("Reached init.")
|
|
}
|
|
|
|
def postInit() {
|
|
log("Reached postinit.")
|
|
}
|
|
|
|
private def log(msg:String) {
|
|
logger.info(s"[PluginDebug] $msg")
|
|
}
|
|
|
|
}
|