Merge pull request #790 from Simon311/general-devel
Fix Minecart tracks, remove syncPlayers() from SetTime
This commit is contained in:
commit
dd190da3bf
2 changed files with 2 additions and 2 deletions
|
|
@ -1614,7 +1614,7 @@ namespace TShockAPI
|
|||
/// <summary>
|
||||
/// Tiles that can be oriented (e.g., beds, chairs, bathtubs, etc).
|
||||
/// </summary>
|
||||
private static int[] orientableTiles = new int[] { 15, 79, 90, 105, TileID.Mannequin, 137, 139, 171, 207, 209, 314, TileID.Womannequin };
|
||||
private static int[] orientableTiles = new int[] { 15, 79, 90, 105, TileID.Mannequin, 137, 139, 171, 207, 209, 314, TileID.Womannequin, TileID.MinecartTrack };
|
||||
|
||||
private static bool HandleSendTileSquare(GetDataHandlerArgs args)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1230,7 +1230,7 @@ namespace TShockAPI
|
|||
Main.dayTime = dayTime;
|
||||
Main.time = time;
|
||||
NetMessage.SendData((int) PacketTypes.TimeSet, -1, -1, "", 0, 0, Main.sunModY, Main.moonModY);
|
||||
NetMessage.syncPlayers();
|
||||
// NetMessage.syncPlayers(); Is not in any way resposnsible for time...
|
||||
}
|
||||
|
||||
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