mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-29 08:36:45 +01:00
flag tix
This commit is contained in:
parent
bcbcd6d916
commit
a13b9fb31b
@ -1673,7 +1673,7 @@ public class PlayerEvents extends PlotListener implements Listener {
|
||||
return;
|
||||
}
|
||||
} 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()));
|
||||
}
|
||||
return;
|
||||
@ -1746,7 +1746,7 @@ public class PlayerEvents extends PlotListener implements Listener {
|
||||
return;
|
||||
}
|
||||
} 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()));
|
||||
}
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user