mirror of
https://github.com/RonanPlugins/BetterRTP.git
synced 2026-06-24 21:41:57 +00:00
Lands Support fix - release 3.0.4-2
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user