Initial Commit of 1.2.4, all data handlers are currently off.

This commit is contained in:
Zack Piispanen 2014-05-09 21:20:21 -04:00
parent 8d32d16bff
commit 871ad1fd2a
11 changed files with 109 additions and 88 deletions

View file

@ -1198,7 +1198,7 @@ namespace TShockAPI
{
#region Blacklists
WhitelistBuffMaxTime = new int[Main.maxBuffs];
WhitelistBuffMaxTime = new int[Main.maxBuffTypes];
WhitelistBuffMaxTime[20] = 600;
WhitelistBuffMaxTime[0x18] = 1200;
WhitelistBuffMaxTime[0x1f] = 120;
@ -3218,7 +3218,7 @@ namespace TShockAPI
if (OnPlayerBuffUpdate(id))
return true;
for (int i = 0; i < 10; i++)
for (int i = 0; i < Terraria.Player.maxBuffs; i++)
{
var buff = args.Data.ReadInt8();