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:
@@ -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$">
|
||||
|
||||
@@ -56,6 +56,7 @@ public class WorldGuardLegacyIntegration implements IntegrationManager {
|
||||
}
|
||||
}
|
||||
|
||||
if (highest == null) return null;
|
||||
return plugin.getManagers().getRegionsCache().getConfiguredRegion(highest.getId());
|
||||
}
|
||||
|
||||
|
||||
@@ -57,7 +57,8 @@ public class WorldGuardIntegration implements IntegrationManager {
|
||||
highest = region;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if (highest == null) return null;
|
||||
return plugin.getManagers().getRegionsCache().getConfiguredRegion(highest.getId());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user