Updated to new binary (with the api merged).
Removed System.Drawing dependency
This commit is contained in:
parent
b95caf67c2
commit
b2f47f57ac
20 changed files with 82 additions and 96 deletions
|
|
@ -18,13 +18,13 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using System.Drawing;
|
||||
|
||||
using System.IO;
|
||||
using System.Text;
|
||||
using Terraria;
|
||||
using TerrariaAPI;
|
||||
|
||||
using TShockAPI.Net;
|
||||
using XNAHelpers;
|
||||
using System.IO.Streams;
|
||||
|
||||
namespace TShockAPI
|
||||
{
|
||||
|
|
@ -393,7 +393,7 @@ namespace TShockAPI
|
|||
if (type == 0 && BlacklistTiles[Main.tile[x, y].type] && args.Player.Active)
|
||||
{
|
||||
args.Player.TileThreshold++;
|
||||
var coords = new PointF(x, y);
|
||||
var coords = new Vector2(x, y);
|
||||
if (!args.Player.TilesDestroyed.ContainsKey(coords))
|
||||
args.Player.TilesDestroyed.Add(coords, Main.tile[x, y].Data);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue