RedstoneFuture / missilewars

MissileWars is a famous, fun and fast minigame spigot-plugin for Minecraft
https://www.spigotmc.org/resources/62947
GNU General Public License v3.0
13 stars 9 forks source link

Events are not executed #95

Closed Gamer-Bjoern closed 8 months ago

Gamer-Bjoern commented 1 year ago

If I want to use the events GameStartEvent and GameStopEvent, they are not executed. My Code:

class MissleWarsListener : Listener { @EventHandler fun onStart(event: GameStartEvent) {

}

@EventHandler
fun onStop(event: GameStopEvent) {

}

}

daniel-naegele commented 1 year ago

I was not able to reproduce the mentioned bug, could you provide a complete reproducible server .zip with all files, plugins needed to properly reproduce this? Did you perhaps forgot to register the Listener class via Bukkit.getPluginManager().registerEvents()?

Gamer-Bjoern commented 1 year ago

No I have the JoinListener in the same Class and the JoinListener works

daniel-naegele commented 1 year ago

Have you tested it with both GameStartEvent and GameStopEvent? Can you specify which versions of MissileWars, Minecraft, Java and OS do you use? Also could you send me the reproducible example?

RedstoneFuture commented 11 months ago

Have you tested it with both GameStartEvent and GameStopEvent? Can you specify which versions of MissileWars, Minecraft, Java and OS do you use? Also could you send me the reproducible example?

@Gamer-Bjoern Can you please post the information you requested?