mirror of
https://github.com/RonanPlugins/BetterRTP.git
synced 2025-08-18 01:25:45 +00:00
Residence implementation
This commit is contained in:
parent
ea1fa435dd
commit
169b3940e4
5
pom.xml
5
pom.xml
@ -86,6 +86,11 @@
|
||||
<id>factions-uuid</id>
|
||||
<url>http://ci.ender.zone/plugin/repository/everything/</url>
|
||||
</repository>
|
||||
<!--repository>
|
||||
<id>residence</id>
|
||||
<url>https://github.com/Zrips/Residence/tree/master/src</url>
|
||||
<releases><enabled>true</enabled></releases>
|
||||
</repository-->
|
||||
</repositories>
|
||||
<dependencies>
|
||||
<!--Spigot API-->
|
||||
|
@ -99,6 +99,20 @@ public class RTPPluginValidation { //Safe locations depending on enabled depende
|
||||
return result;
|
||||
}
|
||||
|
||||
// NOT TESTED 2.14.2
|
||||
// Residence v2.5.8
|
||||
// https://www.spigotmc.org/threads/residence.88667/
|
||||
/*private boolean getResidence(Location loc) {
|
||||
boolean result = true;
|
||||
if (getPl().getSettings().getsDepends().isFactionsUUID())
|
||||
try {
|
||||
ResidenceApi resAPI = Residence.getAPI();
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
return result;
|
||||
}*/
|
||||
|
||||
private Main getPl() {
|
||||
return Main.getInstance();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user