Merge branch 'general-devel' into player-data
This commit is contained in:
commit
9b75342bff
3 changed files with 7 additions and 1 deletions
|
|
@ -1869,7 +1869,9 @@ namespace TShockAPI
|
|||
{ BuffID.DryadsWardDebuff, 120 },
|
||||
{ BuffID.Daybreak, 300 },
|
||||
{ BuffID.BetsysCurse, 600 },
|
||||
{ BuffID.Oiled, 540 }
|
||||
{ BuffID.Oiled, 540 },
|
||||
{ BuffID.Confused, 360 }, // Brain of Confusion Internal Item ID: 3223
|
||||
{ BuffID.Daybreak, 300 } // Solar Eruption Item ID: 3473, Daybreak Item ID: 3543
|
||||
};
|
||||
|
||||
/// <summary>
|
||||
|
|
|
|||
|
|
@ -1130,6 +1130,8 @@ namespace TShockAPI
|
|||
}
|
||||
if (check != "none")
|
||||
player.IsDisabledForBannedWearable = true;
|
||||
else
|
||||
player.IsDisabledForBannedWearable = false;
|
||||
|
||||
if (player.IsBeingDisabled())
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue