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
+2 -2
View File
@@ -7,7 +7,7 @@
<groupId>me.SuperRonanCraft</groupId> <groupId>me.SuperRonanCraft</groupId>
<artifactId>BetterRTP</artifactId> <artifactId>BetterRTP</artifactId>
<packaging>jar</packaging> <packaging>jar</packaging>
<version>3.0.5</version> <version>3.0.4-2</version>
<properties> <properties>
<maven.compiler.source>1.8</maven.compiler.source> <maven.compiler.source>1.8</maven.compiler.source>
@@ -181,7 +181,7 @@
<dependency> <dependency>
<groupId>com.github.angeschossen</groupId> <groupId>com.github.angeschossen</groupId>
<artifactId>LandsAPI</artifactId> <artifactId>LandsAPI</artifactId>
<version>4.9.4</version> <version>5.0.5</version>
<scope>provided</scope> <scope>provided</scope>
</dependency> </dependency>
<!-- Residence v4.9.1.9 (https://www.spigotmc.org/resources/residence.11480/) (LOCAL REPO) --> <!-- Residence v4.9.1.9 (https://www.spigotmc.org/resources/residence.11480/) (LOCAL REPO) -->
@@ -117,13 +117,13 @@ public class RTPPluginValidation { //Safe locations depending on enabled depende
} }
// NOT TESTED (2.14.3) // NOT TESTED (2.14.3)
// Lands (v4.9.4) // Lands (v5.0.5)
// https://www.spigotmc.org/resources/lands.53313/ // https://www.spigotmc.org/resources/lands.53313/
private boolean getLands(Location loc) { private boolean getLands(Location loc) {
boolean result = true; boolean result = true;
if (getPl().getSettings().getsDepends().isLands()) if (getPl().getSettings().getsDepends().isLands())
try { try {
result = new LandsIntegration(BetterRTP.getInstance()).isClaimed(loc); result = !(new LandsIntegration(BetterRTP.getInstance()).isClaimed(loc));
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace(); e.printStackTrace();
} }
+1 -1
View File
@@ -1,5 +1,5 @@
main: me.SuperRonanCraft.BetterRTP.BetterRTP main: me.SuperRonanCraft.BetterRTP.BetterRTP
version: '3.0.5' version: '3.0.4-2'
name: BetterRTP name: BetterRTP
author: SuperRonanCraft author: SuperRonanCraft
softdepend: softdepend: