Update TShockAPI/TSPlayer.cs
This commit is contained in:
parent
fb7a63be78
commit
238c8c859b
1 changed files with 6 additions and 0 deletions
|
|
@ -385,6 +385,12 @@ namespace TShockAPI
|
||||||
RconHandler.Response += msg + "\n";
|
RconHandler.Response += msg + "\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void SetFullMoon(bool fullmoon)
|
||||||
|
{
|
||||||
|
Main.moonPhase = 0;
|
||||||
|
SetTime(false, 0);
|
||||||
|
}
|
||||||
|
|
||||||
public void SetBloodMoon(bool bloodMoon)
|
public void SetBloodMoon(bool bloodMoon)
|
||||||
{
|
{
|
||||||
Main.bloodMoon = bloodMoon;
|
Main.bloodMoon = bloodMoon;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue