Fix flamethrowers kicking players

This commit is contained in:
BashGuy10 2022-10-22 16:07:03 -07:00
parent 890ddf8cad
commit 309f4e5500
No known key found for this signature in database
GPG key ID: 82EA7D475F037742
2 changed files with 2 additions and 1 deletions

View file

@ -2836,7 +2836,7 @@ namespace TShockAPI
{ BuffID.RainbowWhipNPCDebuff, 240 }, // BuffID: 316 { BuffID.RainbowWhipNPCDebuff, 240 }, // BuffID: 316
{ BuffID.MaceWhipNPCDebuff, 240 }, // BuffID: 319 { BuffID.MaceWhipNPCDebuff, 240 }, // BuffID: 319
{ BuffID.GelBalloonBuff, 1800 }, // BuffID: 320 { BuffID.GelBalloonBuff, 1800 }, // BuffID: 320
{ BuffID.OnFire3, 960 }, // BuffID: 323 { BuffID.OnFire3, 1200 }, // BuffID: 323
{ BuffID.Frostburn2, 900 }, // BuffID: 324 { BuffID.Frostburn2, 900 }, // BuffID: 324
{ BuffID.BoneWhipNPCDebuff, 240 }, // BuffID: 326 { BuffID.BoneWhipNPCDebuff, 240 }, // BuffID: 326
{ BuffID.TentacleSpike, 540 }, // BuffID: 337 { BuffID.TentacleSpike, 540 }, // BuffID: 337

View file

@ -67,6 +67,7 @@ Use past tense when adding new entries; sign your name off when you add or chang
* Allow loadouts to properly sync by allowing the `SyncLoadout` packet during early connection. (@drunderscore) * Allow loadouts to properly sync by allowing the `SyncLoadout` packet during early connection. (@drunderscore)
* Introduced support for loadouts, and saving the current loadout index to SSC. Both `NetItem` and `PlayerData` were modified to support this. (@drunderscore) * Introduced support for loadouts, and saving the current loadout index to SSC. Both `NetItem` and `PlayerData` were modified to support this. (@drunderscore)
* Check loadout slots for hacked item stacks. (@drunderscore) * Check loadout slots for hacked item stacks. (@drunderscore)
* Fix players being kicked after using the Flamethrower to apply the `OnFire3` debuff for `1200` ticks. (@BashGuy10)
## TShock 4.5.18 ## TShock 4.5.18
* Fixed `TSPlayer.GiveItem` not working if the player is in lava. (@PotatoCider) * Fixed `TSPlayer.GiveItem` not working if the player is in lava. (@PotatoCider)