Fixed a problem where KillTile thresholds were never reset.
VERSION TICK: 3.0.1.0722
This commit is contained in:
parent
a9b558e75d
commit
63f935b4fd
2 changed files with 3 additions and 9 deletions
|
|
@ -35,5 +35,5 @@ using System.Runtime.InteropServices;
|
||||||
// by using the '*' as shown below:
|
// by using the '*' as shown below:
|
||||||
// [assembly: AssemblyVersion("1.0.*")]
|
// [assembly: AssemblyVersion("1.0.*")]
|
||||||
|
|
||||||
[assembly: AssemblyVersion("3.0.0.0721")]
|
[assembly: AssemblyVersion("3.0.1.0722")]
|
||||||
[assembly: AssemblyFileVersion("3.0.0.0721")]
|
[assembly: AssemblyFileVersion("3.0.1.0722")]
|
||||||
|
|
|
||||||
|
|
@ -351,14 +351,8 @@ namespace TShockAPI
|
||||||
{
|
{
|
||||||
TSPlayer.Server.RevertKillTile(player.TilesDestroyed);
|
TSPlayer.Server.RevertKillTile(player.TilesDestroyed);
|
||||||
}
|
}
|
||||||
else if (player.TileThreshold > 0)
|
|
||||||
{
|
|
||||||
player.TileThreshold = 0;
|
|
||||||
player.TilesDestroyed.Clear();
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
else if (player.TileThreshold > 0)
|
if (player.TileThreshold > 0)
|
||||||
{
|
{
|
||||||
player.TileThreshold = 0;
|
player.TileThreshold = 0;
|
||||||
player.TilesDestroyed.Clear();
|
player.TilesDestroyed.Clear();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue