Skip to content

Commit

Permalink
Update SendingValidGameConsoleCommand.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
Mar1ki authored Jan 14, 2025
1 parent 282aaa9 commit 87be843
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -161,10 +161,10 @@ private static IEnumerable<CodeInstruction> Transpiler(IEnumerable<CodeInstructi
// result
new (OpCodes.Ldloc_S, 2),

// new SentCommandEventArgs
// new SentValidCommandEventArgs
new (OpCodes.Newobj, GetDeclaredConstructors(typeof(SentValidCommandEventArgs))[0]),

// OnSentdCommand(ev)
// OnSentValidCommand(ev)
new (OpCodes.Call, Method(typeof(Handlers.Player), nameof(Handlers.Player.OnSentValidCommand))),
});

Expand Down

0 comments on commit 87be843

Please sign in to comment.