mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-25 22:56: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;
|
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;
|
||||||
|
Loading…
Reference in New Issue
Block a user