Last active
January 12, 2024 17:31
-
-
Save zax71/e7f31c4ee137ed07dc8117409a308c60 to your computer and use it in GitHub Desktop.
Basic Minestom Event Listener
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class MinigameStart implements EventListener<MinigameStartEvent> { | |
@Override | |
public @NotNull Class<MinigameStartEvent> eventType() { | |
return MinigameStartEvent.class; | |
} | |
@Override | |
public @NotNull Result run(@NotNull MinigameStartEvent event) { | |
return Result.SUCCESS; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment