mirror of
https://github.com/RonanPlugins/BetterRTP.git
synced 2025-08-18 09:35:50 +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>
|
<id>factions-uuid</id>
|
||||||
<url>http://ci.ender.zone/plugin/repository/everything/</url>
|
<url>http://ci.ender.zone/plugin/repository/everything/</url>
|
||||||
</repository>
|
</repository>
|
||||||
|
<!--repository>
|
||||||
|
<id>residence</id>
|
||||||
|
<url>https://github.com/Zrips/Residence/tree/master/src</url>
|
||||||
|
<releases><enabled>true</enabled></releases>
|
||||||
|
</repository-->
|
||||||
</repositories>
|
</repositories>
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<!--Spigot API-->
|
<!--Spigot API-->
|
||||||
|
@ -99,6 +99,20 @@ public class RTPPluginValidation { //Safe locations depending on enabled depende
|
|||||||
return result;
|
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() {
|
private Main getPl() {
|
||||||
return Main.getInstance();
|
return Main.getInstance();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user