You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to load in markers on start with this event, but when the event is called. The WorldRegistry (Pl3xMap.api().getWorldRegistry()) is still empty. Meaning I can't make a layer and thus not register markers.
privatestaticclassPl3xMapStartimplementsEventListener {
@EventHandlerpublicvoidonEnable(Pl3xMapEnabledEventevent) {
// initialize managerMARKER_MANAGER.loadLodestones(); // this creates markers and tries to register them
}
}
}```
The text was updated successfully, but these errors were encountered:
I'm trying to load in markers on start with this event, but when the event is called. The WorldRegistry (
Pl3xMap.api().getWorldRegistry()
) is still empty. Meaning I can't make a layer and thus not register markers.Main class;
Event;
The text was updated successfully, but these errors were encountered: