mirror of
https://github.com/RonanPlugins/BetterRTP.git
synced 2025-08-18 01:25:45 +00:00
Lands Support fix - release 3.0.4-2
This commit is contained in:
parent
587c27dc5f
commit
18c0190209
4
pom.xml
4
pom.xml
@ -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) -->
|
||||
|
@ -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();
|
||||
}
|
||||
|
@ -1,5 +1,5 @@
|
||||
main: me.SuperRonanCraft.BetterRTP.BetterRTP
|
||||
version: '3.0.5'
|
||||
version: '3.0.4-2'
|
||||
name: BetterRTP
|
||||
author: SuperRonanCraft
|
||||
softdepend:
|
||||
|
Loading…
x
Reference in New Issue
Block a user