Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-09-07 00:22:51 +02:00
Fixes #1201
Dieser Commit ist enthalten in:
Ursprung
d62a1b5ad3
Commit
678fb0a8b3
@ -99,7 +99,7 @@ dependencies {
|
||||
}
|
||||
implementation("com.massivecraft:mcore:7.0.1") { isTransitive = false }
|
||||
implementation("com.bekvon.bukkit.residence:Residence:4.5._13.1") { isTransitive = false }
|
||||
implementation("com.palmergames.bukkit:towny:0.84.0.9") { isTransitive = false }
|
||||
compileOnly("com.github.TownyAdvanced:Towny:0.97.0.17") { isTransitive = false }
|
||||
implementation("com.comphenix.protocol:ProtocolLib:4.7.0") { isTransitive = false }
|
||||
implementation("org.incendo.serverlib:ServerLib:2.2.1")
|
||||
api("com.plotsquared:PlotSquared-Bukkit:6.0.6-SNAPSHOT") { isTransitive = false }
|
||||
|
@ -2,12 +2,12 @@ package com.fastasyncworldedit.bukkit.regions;
|
||||
|
||||
import com.fastasyncworldedit.core.regions.FaweMask;
|
||||
import com.palmergames.bukkit.towny.Towny;
|
||||
import com.palmergames.bukkit.towny.TownyUniverse;
|
||||
import com.palmergames.bukkit.towny.exceptions.NotRegisteredException;
|
||||
import com.palmergames.bukkit.towny.object.PlayerCache;
|
||||
import com.palmergames.bukkit.towny.object.Resident;
|
||||
import com.palmergames.bukkit.towny.object.Town;
|
||||
import com.palmergames.bukkit.towny.object.TownBlock;
|
||||
import com.palmergames.bukkit.towny.object.TownyUniverse;
|
||||
import com.palmergames.bukkit.towny.object.WorldCoord;
|
||||
import com.sk89q.worldedit.bukkit.BukkitAdapter;
|
||||
import com.sk89q.worldedit.internal.util.LogManagerCompat;
|
||||
@ -38,7 +38,7 @@ public class TownyFeature extends BukkitMaskManager implements Listener {
|
||||
}
|
||||
Resident resident;
|
||||
try {
|
||||
resident = TownyUniverse.getDataSource().getResident(player.getName());
|
||||
resident = TownyUniverse.getInstance().getResident(player.getName());
|
||||
try {
|
||||
if (block.getResident().equals(resident)) {
|
||||
return true;
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren