Added Team to TSPlayer

Updated Tools.NewNPC to take in NPCList and TSPlayer
Broadcasting when anti-build or spawn protection is toggled
This commit is contained in:
ricky 2011-06-15 15:00:33 +10:00
parent f42a23e4c1
commit 43ecc064bd
4 changed files with 58 additions and 70 deletions

View file

@ -55,13 +55,6 @@ namespace TShockAPI
public static float[] AdminChatRGB = {255, 0, 0};
public static string AdminChatPrefix = "(Admin) ";
public enum NPCList
{
WORLD_EATER = 0,
EYE = 1,
SKELETRON = 2
}
public static void ReadJsonConfiguration()
{
TextReader tr = new StreamReader(FileTools.ConfigPath);