Fixed impossible placing
This commit is contained in:
parent
af3f03b38e
commit
a7e912c9f4
2 changed files with 50 additions and 46 deletions
|
|
@ -1,32 +1,30 @@
|
|||
using System.Collections.Generic;
|
||||
using Terraria;
|
||||
|
||||
namespace TShockAPI
|
||||
{
|
||||
public class TSPlayer
|
||||
{
|
||||
public uint tileThreshold;
|
||||
public Dictionary<TShock.Position, Tile> tilesDestroyed = new Dictionary<TShock.Position, Tile>();
|
||||
public bool syncHP;
|
||||
public bool syncMP;
|
||||
public Group group;
|
||||
public int lavaCount = 0;
|
||||
public int waterCount = 0;
|
||||
private int player;
|
||||
|
||||
public TSPlayer(int ply)
|
||||
{
|
||||
player = ply;
|
||||
}
|
||||
|
||||
public Player GetPlayer()
|
||||
{
|
||||
return Main.player[player];
|
||||
}
|
||||
|
||||
public int GetPlayerID()
|
||||
{
|
||||
return player;
|
||||
}
|
||||
}
|
||||
using System.Collections.Generic;
|
||||
using Terraria;
|
||||
|
||||
namespace TShockAPI
|
||||
{
|
||||
public class TSPlayer
|
||||
{
|
||||
public uint tileThreshold;
|
||||
public Dictionary<TShock.Position, Tile> tilesDestroyed = new Dictionary<TShock.Position, Tile>();
|
||||
public bool syncHP;
|
||||
public bool syncMP;
|
||||
public Group group;
|
||||
private int player;
|
||||
|
||||
public TSPlayer(int ply)
|
||||
{
|
||||
player = ply;
|
||||
}
|
||||
|
||||
public Player GetPlayer()
|
||||
{
|
||||
return Main.player[player];
|
||||
}
|
||||
|
||||
public int GetPlayerID()
|
||||
{
|
||||
return player;
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue