mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2025-08-11 08:45:26 +02:00
Fix for /plot weanywhere
This commit is contained in:
@@ -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)) {
|
||||||
|
Reference in New Issue
Block a user