9
0
mirror of https://gitlab.com/SamB440/rpgregions-2.git synced 2025-12-27 18:59:10 +00:00

Fix null error for Kiteboard

This commit is contained in:
SamB440
2020-01-31 14:03:33 +00:00
parent d28d07cf25
commit 3948827bb5
3 changed files with 4 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<module external.linked.project.id="RPGRegions" external.linked.project.path="$MODULE_DIR$" external.root.project.path="$MODULE_DIR$" external.system.id="GRADLE" external.system.module.group="net.islandearth" external.system.module.version="1.0.5" type="JAVA_MODULE" version="4">
<component name="ExternalSystem" externalSystem="GRADLE" externalSystemModuleGroup="net.islandearth" externalSystemModuleVersion="1.0.7" linkedProjectId="RPGRegions" linkedProjectPath="$MODULE_DIR$" rootProjectPath="$MODULE_DIR$" />
<component name="ExternalSystem" externalSystem="GRADLE" externalSystemModuleGroup="net.islandearth" externalSystemModuleVersion="1.0.8" linkedProjectId="RPGRegions" linkedProjectPath="$MODULE_DIR$" rootProjectPath="$MODULE_DIR$" />
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$">

View File

@@ -56,6 +56,7 @@ public class WorldGuardLegacyIntegration implements IntegrationManager {
}
}
if (highest == null) return null;
return plugin.getManagers().getRegionsCache().getConfiguredRegion(highest.getId());
}

View File

@@ -57,7 +57,8 @@ public class WorldGuardIntegration implements IntegrationManager {
highest = region;
}
}
if (highest == null) return null;
return plugin.getManagers().getRegionsCache().getConfiguredRegion(highest.getId());
}