Added a new server exe that should fix mannequins. Exempted the ice rod from the range checks.
This commit is contained in:
parent
1fb86caaba
commit
e1cd9f6bd4
3 changed files with 5 additions and 5 deletions
|
|
@ -255,11 +255,11 @@ namespace TShockAPI
|
|||
|
||||
var tile = Main.tile[realx, realy];
|
||||
var newtile = tiles[x, y];
|
||||
if ((tile.type == 128 && newtile.Type == 128) || (tile.type == 105 || newtile.Type == 105))
|
||||
if ((tile.type == 128 && newtile.Type == 128) || (tile.type == 105 && newtile.Type == 105))
|
||||
{
|
||||
Console.WriteLine("SendTileSquareCalled on a 128 or 105.");
|
||||
changed = true;
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
if (tile.type == 0x17 && newtile.Type == 0x2)
|
||||
|
|
@ -346,7 +346,7 @@ namespace TShockAPI
|
|||
}
|
||||
if (TShock.Config.RangeChecks && ((Math.Abs(plyX - tileX) > 32) || (Math.Abs(plyY - tileY) > 32)))
|
||||
{
|
||||
if (!(type == 1 && ((tiletype == 0 && args.Player.TPlayer.selectedItem == 114) || (tiletype == 53 && args.Player.TPlayer.selectedItem == 266))))
|
||||
if (!(type == 1 && ((tiletype == 0 && args.Player.TPlayer.selectedItem == 114) || (tiletype == 127 && args.Player.TPlayer.selectedItem == 496)|| (tiletype == 53 && args.Player.TPlayer.selectedItem == 266))))
|
||||
{
|
||||
Log.Debug(string.Format("TilePlaced(PlyXY:{0}_{1}, TileXY:{2}_{3}, Result:{4}_{5}, Type:{6})",
|
||||
plyX, plyY, tileX, tileY, Math.Abs(plyX - tileX), Math.Abs(plyY - tileY), tiletype));
|
||||
|
|
|
|||
|
|
@ -36,5 +36,5 @@ using System.Runtime.InteropServices;
|
|||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
|
||||
|
||||
[assembly: AssemblyVersion("3.3.4.1205")]
|
||||
[assembly: AssemblyFileVersion("3.3.4.1205")]
|
||||
[assembly: AssemblyVersion("3.3.4.1211")]
|
||||
[assembly: AssemblyFileVersion("3.3.4.1211")]
|
||||
|
|
|
|||
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue