granny / Pl3xMap

Pl3xMap is a minimalistic and lightweight world map viewer for Minecraft servers using the vanilla Minecraft rendering style
https://modrinth.com/plugin/pl3xmap
MIT License
64 stars 85 forks source link

Pl3xMapEnabledEvent only running sometimes #22

Closed gjorgdy closed 7 months ago

gjorgdy commented 7 months ago

No logs or errors to go along with it, why I'm coming here. I'm using the following code, but it only seems to run 1/3 times.

Pl3xMap.api().getEventRegistry().register(new Pl3xMapStart());

@EventHandler public void onEnable(Pl3xMapEnabledEvent event) { }

granny commented 7 months ago

i'm going to need more code to understand your issue. Give me an example plugin where you can recreate the problem.

gjorgdy commented 7 months ago

Got this working, I registered the event too late. I'll make a new issue for the actual problem that led me to this.