mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2025-07-27 17:45:27 +02:00
flag tix
This commit is contained in:
@@ -1673,7 +1673,7 @@ public class PlayerEvents extends PlotListener implements Listener {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
} else if (lastPlot != null && now.equals(lastPlot)) {
|
} else if (lastPlot != null && now.equals(lastPlot)) {
|
||||||
if (!Flags.TELEPORT_DENY.allowsTeleport(pp, lastPlot)) {
|
if (!Flags.DENY_TELEPORT.allowsTeleport(pp, lastPlot)) {
|
||||||
event.setTo(BukkitUtil.getLocation(lastPlot.getSide()));
|
event.setTo(BukkitUtil.getLocation(lastPlot.getSide()));
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
@@ -1746,7 +1746,7 @@ public class PlayerEvents extends PlotListener implements Listener {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
} else if (lastPlot != null && now.equals(lastPlot)) {
|
} else if (lastPlot != null && now.equals(lastPlot)) {
|
||||||
if (!Flags.TELEPORT_DENY.allowsTeleport(pp, lastPlot)) {
|
if (!Flags.DENY_TELEPORT.allowsTeleport(pp, lastPlot)) {
|
||||||
event.setTo(BukkitUtil.getLocation(lastPlot.getSide()));
|
event.setTo(BukkitUtil.getLocation(lastPlot.getSide()));
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
|
Reference in New Issue
Block a user