mirror of
https://github.com/boy0001/FastAsyncWorldedit.git
synced 2024-11-28 21:56:33 +01:00
Update residence dependency
This commit is contained in:
parent
d43dbab7c5
commit
39f12be5f9
@ -10,7 +10,7 @@ dependencies {
|
||||
compile 'com.massivecraft:mcore:7.0.1'
|
||||
compile 'net.sacredlabyrinth.Phaed:PreciousStones:10.0.4-SNAPSHOT'
|
||||
compile 'net.jzx7:regios:5.9.9'
|
||||
compile 'com.bekvon.bukkit:residence:2.6.6.6'
|
||||
compile 'com.bekvon.bukkit.residence:Residence:4.5._13.1'
|
||||
compile 'com.palmergames.bukkit:towny:0.84.0.9'
|
||||
compile 'com.worldcretornica:plotme_core:0.16.3'
|
||||
compile 'junit:junit:4.11'
|
||||
|
@ -25,7 +25,7 @@ public class ResidenceFeature extends BukkitMaskManager implements Listener {
|
||||
public BukkitMask getMask(final FawePlayer<Player> fp, MaskType type) {
|
||||
final Player player = fp.parent;
|
||||
final Location location = player.getLocation();
|
||||
final ClaimedResidence residence = Residence.getResidenceManager().getByLoc(location);
|
||||
final ClaimedResidence residence = Residence.getInstance().getResidenceManager().getByLoc(location);
|
||||
if (residence != null) {
|
||||
if (residence.getOwner().equals(player.getName()) || residence.getOwner().equals(player.getUniqueId().toString()) || type == MaskType.MEMBER && residence.getPlayersInResidence().contains(player)) {
|
||||
final CuboidArea area = residence.getAreaArray()[0];
|
||||
|
Loading…
Reference in New Issue
Block a user