mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-26 23:26:45 +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())) {
|
if ((f.getBlockX() != t.getBlockX()) || (f.getBlockZ() != t.getBlockZ())) {
|
||||||
final PlotId idF = PlayerFunctions.getPlot(f);
|
final PlotId idF = PlayerFunctions.getPlot(f);
|
||||||
final PlotId idT = PlayerFunctions.getPlot(t);
|
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;
|
return;
|
||||||
}
|
}
|
||||||
if ((idT != null) && !(idF == idT)) {
|
if ((idT != null) && !(idF == idT)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user