Residence implementation

This commit is contained in:
SuperRonanCraft
2020-10-03 15:19:10 -04:00
parent ea1fa435dd
commit 169b3940e4
2 changed files with 19 additions and 0 deletions

View File

@@ -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();
}