Fixed /time
This commit is contained in:
parent
789ab2c7cc
commit
af7ee24de4
2 changed files with 7 additions and 2 deletions
|
|
@ -1027,7 +1027,7 @@ namespace TShockAPI
|
|||
{
|
||||
Main.dayTime = dayTime;
|
||||
Main.time = time;
|
||||
TSPlayer.All.SendData(PacketTypes.TimeSet, "", 0, 0, Main.sunModY, Main.moonModY);
|
||||
TSPlayer.All.SendData(PacketTypes.TimeSet, "", dayTime ? 1 : 0, (int)time, Main.sunModY, Main.moonModY);
|
||||
}
|
||||
|
||||
public void SpawnNPC(int type, string name, int amount, int startTileX, int startTileY, int tileXRange = 100,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue