Skip to content

Commit 94b4e4a

Browse files
committed
Correct npc transform ref args
1 parent fb24f53 commit 94b4e4a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

OTAPI.Scripts/Mods/HookNpcTransform.Server.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public class TransformingEventArgs : EventArgs
7373

7474
public static bool InvokeTransforming(Terraria.NPC instance, ref int newType
7575
#if TerrariaServer_1450_OrAbove || Terraria__1450_OrAbove || tModLoader_1450_OrAbove
76-
, float ai0, float ai1, float ai2, float ai3, bool withReposition
76+
, ref float ai0, ref float ai1, ref float ai2, ref float ai3, ref bool withReposition
7777
#endif
7878
)
7979
{

0 commit comments

Comments
 (0)