Closed TypicalDarkness closed 8 years ago
I guess this is has nothing to do with SpongeForge. I'll open the issue at SpongeAPI
@TypicalDarkness It does have to do with the implementation, not API.
I have a PR that fixes this - #425.
@JBYoshi that's for GameStoppingEvent
, this is GameStoppingServerEvent
The event works fine
@Listener
public void onServerStop(GameStoppingServerEvent e) {
System.out.println(e);
}
[STDOUT]: [com.simon816.eventtest.SpongePlugin:onServerStop:57]: net.minecraftforge.fml.common.event.FMLServerStoppingEvent@3e5d4255
@TypicalDarkness Ah, I think I know. You need to make your handler public, the code you've got there is package-private.
For some reason this doesn't fire:
Tested on 979.