Set time to night prior to /pumpkin
This commit is contained in:
parent
af5eb4e80f
commit
360a1775d1
1 changed files with 2 additions and 0 deletions
|
|
@ -1676,6 +1676,8 @@ namespace TShockAPI
|
||||||
|
|
||||||
private static void PumpkinInvasion(CommandArgs args)
|
private static void PumpkinInvasion(CommandArgs args)
|
||||||
{
|
{
|
||||||
|
TSPlayer.Server.SetTime(false, 0.0);
|
||||||
|
|
||||||
int wave = 0;
|
int wave = 0;
|
||||||
if (args.Parameters.Count != 0)
|
if (args.Parameters.Count != 0)
|
||||||
int.TryParse(args.Parameters[0], out wave);
|
int.TryParse(args.Parameters[0], out wave);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue