Skip to content

[BUG] CommandAlias not reload to the correct callback on plugin reloaded. #124

@himenekocn

Description

@himenekocn

SwiftlyS2 Version

v1.0.2

Game

Counter-Strike 2

Operating System

Linux

Bug Description

CommandAlias not reload to the correct callback on plugin reloaded.
https://cdn.discordapp.com/attachments/1419045679980089434/1442433001391784037/image.png?ex=692569ea&is=6924186a&hm=34a112eb529a3c159a587ff6b828560156fd52ed2054964a408ac80417127dcd&

Steps to Reproduce

1.Start server
2.reload plugins
3.Type a plugin Command Alias
4.crash

Expected Behavior

Run on the correct callback.

Actual Behavior

Run on the GC callback.

Logs/Console Output

A callback was made on a garbage collected delegate of type 'SwiftlyS2.CS2!SwiftlyS2.Core.Commands.CommandCallbackDelegate::Invoke'.

Plugin Information

No response

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions