mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-23 12:06:15 +01:00
Fix for /plot weanywhere
This commit is contained in:
parent
f70b7c3f93
commit
f119f6996d
@ -211,7 +211,7 @@ import java.util.Set;
|
||||
if ((f.getBlockX() != t.getBlockX()) || (f.getBlockZ() != t.getBlockZ())) {
|
||||
final PlotId idF = PlayerFunctions.getPlot(f);
|
||||
final PlotId idT = PlayerFunctions.getPlot(t);
|
||||
if (PlotMain.hasPermission(e.getPlayer(), "plots.worldedit.bypass")) {
|
||||
if ((!PWE.hasMask(e.getPlayer())) && PlotMain.hasPermission(e.getPlayer(), "plots.worldedit.bypass")) {
|
||||
return;
|
||||
}
|
||||
if ((idT != null) && !(idF == idT)) {
|
||||
|
Loading…
Reference in New Issue
Block a user