We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent beb7cb4 commit f3400dfCopy full SHA for f3400df
Bukkit/src/main/java/com/plotsquared/bukkit/listener/PlayerEventListener.java
@@ -593,7 +593,7 @@ public void onTeleport(PlayerTeleportEvent event) {
593
return;
594
}
595
Plot plot = area.getPlot(location);
596
- if (plot != null) {
+ if (plot != null && !plot.equals(lastPlot)) {
597
final boolean result = DenyTeleportFlag.allowsTeleport(pp, plot);
598
// there is one possibility to still allow teleportation:
599
// to is identical to the plot's home location, and untrusted-visit is true
0 commit comments