Solved WorldGuard API .class file referenced error

Discussion in 'Spigot Plugin Development' started by FiXed, Jun 10, 2016.

Thread Status:
Not open for further replies.
  1. So I'm trying to use the world guard regions to get the region a player is in based on the location and it's giving me an error which is this:
    [​IMG]
    and this is the line of code which is relevant
    Code (Java):
    wgPlugin.getRegionManager(Bukkit.getWorld("world")).getApplicableRegions(player.getLocation());
    and I don't know how to fix this error, is there no way to fix it? I think it may be a NMS issue but I'm not sure
     
  2. Add a WorldEdit jar to your build path
     
  3. wow, works, tyvm
     
Thread Status:
Not open for further replies.