Update server binary
Fix linux paths. Tile compression.
This commit is contained in:
parent
b442e64c4b
commit
63259938f8
4 changed files with 13 additions and 13 deletions
|
|
@ -660,7 +660,7 @@ namespace TShockAPI
|
|||
args.Player.TilePlaceThreshold++;
|
||||
var coords = new Vector2(tileX, tileY);
|
||||
if (!args.Player.TilesCreated.ContainsKey(coords))
|
||||
args.Player.TilesCreated.Add(coords, Main.tile[tileX, tileY]);
|
||||
args.Player.TilesCreated.Add(coords, Main.tile[tileX, tileY].Data);
|
||||
}
|
||||
|
||||
if ((type == 0 || type == 4) && Main.tileSolid[Main.tile[tileX, tileY].type] && !args.Player.Group.HasPermission(Permissions.ignorekilltiledetection))
|
||||
|
|
@ -668,7 +668,7 @@ namespace TShockAPI
|
|||
args.Player.TileKillThreshold++;
|
||||
var coords = new Vector2(tileX, tileY);
|
||||
if (!args.Player.TilesDestroyed.ContainsKey(coords))
|
||||
args.Player.TilesDestroyed.Add(coords, Main.tile[tileX, tileY]);
|
||||
args.Player.TilesDestroyed.Add(coords, Main.tile[tileX, tileY].Data);
|
||||
}
|
||||
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue