Lands Support fix - release 3.0.4-2

This commit is contained in:
SuperRonanCraft 2021-01-21 14:54:35 -05:00
parent 587c27dc5f
commit 18c0190209
3 changed files with 5 additions and 5 deletions

View File

@ -7,7 +7,7 @@
<groupId>me.SuperRonanCraft</groupId>
<artifactId>BetterRTP</artifactId>
<packaging>jar</packaging>
<version>3.0.5</version>
<version>3.0.4-2</version>
<properties>
<maven.compiler.source>1.8</maven.compiler.source>
@ -181,7 +181,7 @@
<dependency>
<groupId>com.github.angeschossen</groupId>
<artifactId>LandsAPI</artifactId>
<version>4.9.4</version>
<version>5.0.5</version>
<scope>provided</scope>
</dependency>
<!-- Residence v4.9.1.9 (https://www.spigotmc.org/resources/residence.11480/) (LOCAL REPO) -->

View File

@ -117,13 +117,13 @@ public class RTPPluginValidation { //Safe locations depending on enabled depende
}
// NOT TESTED (2.14.3)
// Lands (v4.9.4)
// Lands (v5.0.5)
// https://www.spigotmc.org/resources/lands.53313/
private boolean getLands(Location loc) {
boolean result = true;
if (getPl().getSettings().getsDepends().isLands())
try {
result = new LandsIntegration(BetterRTP.getInstance()).isClaimed(loc);
result = !(new LandsIntegration(BetterRTP.getInstance()).isClaimed(loc));
} catch (Exception e) {
e.printStackTrace();
}

View File

@ -1,5 +1,5 @@
main: me.SuperRonanCraft.BetterRTP.BetterRTP
version: '3.0.5'
version: '3.0.4-2'
name: BetterRTP
author: SuperRonanCraft
softdepend: