fix: Fixes more packet initializations (#1507)
This commit is contained in:
parent
0bec97639f
commit
2a3e048b86
8 changed files with 26 additions and 23 deletions
|
|
@ -379,7 +379,7 @@ public static class Effects
|
|||
int speed, int duration, bool fixedDirection = false, bool explodes = false, int hue = 0, int renderMode = 0
|
||||
)
|
||||
{
|
||||
Span<byte> effect = stackalloc byte[OutgoingEffectPackets.HuedEffectLength];
|
||||
Span<byte> effect = stackalloc byte[OutgoingEffectPackets.HuedEffectLength].InitializePacket();
|
||||
OutgoingEffectPackets.CreateMovingHuedEffect(
|
||||
effect,
|
||||
from, to, itemID, fromLocation, toLocation, speed, duration, fixedDirection,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue