Solved WorldGuard

Discussion in 'BungeeCord Plugin Development' started by PCPSells, May 30, 2016.

  1. A friend and I are currently editing a plugin of another friends. (We have permission) & it's for personal use.
    He's currently offline for like a week and I have no idea what should go here -
    Code (Text):
      private static final WorldGuardPlugin worldGuard = ;
    He uses it here -
    Code (Text):
    I've personally only worked with WorldGuard once and never had to use this method. Anyone know what it's supposed to be? It'd help a ton, thanks.
  2. I think
    Code (Text):
    (WorldGuardPlugin) plugin.getServer().getPluginManager().getPlugin("WorldGuard");
    • Informative Informative x 1
  3. Ahh, yeah I see it now man, appreciate it a ton.
  4. No problem! :) Good luck.