Skip to content

Create static event listener methods when class is annotated with EventBusSubscriber #333

Open
@Barteks2x

Description

@Barteks2x

Event listeners generated by MinecraftDev are non-static which can lead to some very confusing debugging when someone doesn't notice they are non-static and uses EventBusSubscriber.

Would also be nice to show a warning when attempting to use non-static event listener methods with EventBusSubscriber.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions