mirror of
https://github.com/anegostudios/vsmodtemplate
synced 2025-07-02 00:18:22 +00:00
use Mod.Logger
This commit is contained in:
parent
ddf896d51b
commit
9eeaee4bae
1 changed files with 3 additions and 3 deletions
|
@ -10,17 +10,17 @@ namespace ModTemplate
|
||||||
// Called on server and client
|
// Called on server and client
|
||||||
public override void Start(ICoreAPI api)
|
public override void Start(ICoreAPI api)
|
||||||
{
|
{
|
||||||
api.Logger.Notification("Hello from template mod: " + Lang.Get("mymodid:hello"));
|
Mod.Logger.Notification("Hello from template mod: " + Lang.Get("mymodid:hello"));
|
||||||
}
|
}
|
||||||
|
|
||||||
public override void StartServerSide(ICoreServerAPI api)
|
public override void StartServerSide(ICoreServerAPI api)
|
||||||
{
|
{
|
||||||
api.Logger.Notification("Hello from template mod server side");
|
Mod.Logger.Notification("Hello from template mod server side");
|
||||||
}
|
}
|
||||||
|
|
||||||
public override void StartClientSide(ICoreClientAPI api)
|
public override void StartClientSide(ICoreClientAPI api)
|
||||||
{
|
{
|
||||||
api.Logger.Notification("Hello from template mod client side");
|
Mod.Logger.Notification("Hello from template mod client side");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue