Code:java @EventHandlerpublic void onHit(final EntityDamageByEntityEvent e) {WorldGuardPlugin guard = getWorldGuard();RegionManager manager = guard.getRegionManager(e.getEntity().getWorld());ApplicableRegionSet set = manager.getApplicableRegions(e.getEntity().getLocation());if (!set.allows(DefaultFlag.PVP)) {return;}if ((!(e.getEntity() instanceof Player)) || (!(e.getDamager() instanceof Player))) {return;} ApplicableRegionSet set = manager.getApplicableRegions(e.getEntity().getLocation()); is the error.
BloodBacker Do you have worldGuard and worldEdit as an external jar and do you have your plugin depending on both?