added /eclipse command
This commit is contained in:
parent
6a0306596d
commit
f08c1449c9
2 changed files with 13 additions and 0 deletions
|
|
@ -907,6 +907,12 @@ namespace TShockAPI
|
|||
Main.bloodMoon = bloodMoon;
|
||||
SetTime(false, 0);
|
||||
}
|
||||
|
||||
public void SetEclipse(bool Eclipse)
|
||||
{
|
||||
Main.eclipse = Eclipse;
|
||||
SetTime(true, 150);
|
||||
}
|
||||
|
||||
public void SetTime(bool dayTime, double time)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue