Chest KillTile is now subject to region protection.

Non-working /buff
This commit is contained in:
Deathmax 2011-07-03 14:12:09 +08:00
parent 0975c7b6bf
commit 843d7b4469
4 changed files with 54 additions and 0 deletions

View file

@ -257,6 +257,13 @@ namespace TShockAPI
return;
NetMessage.SendData((int)msgType, Index, -1, text, number, number2, number3, number4, number5);
}
public void Buff()
{
for (int i = 0; i < 10; i++)
TPlayer.buffType[i] = TShock.Config.Buffs[i];
NetMessage.SendData(50, -1, -1, "", Index);
}
}
public class TSServerPlayer : TSPlayer