Translations:Implementation and Events/162/en

From DragonMineZ Wiki
  1. Check ModList.get().isLoaded("dragonminez") once and cache the result.
  2. Keep every DMZ import inside classes that are only touched after that check (event listeners for DMZ events included: register them manually, and only when DMZ is loaded).
  3. Guard every call that touches DMZ behind that flag, with a safe fallback or default when it is false.
  4. Log a clear info or warning message either way, so server owners can tell at a glance whether the integration is active.