mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2025-06-25 10:14:42 +02:00
fix: plot entry trigger on teleport (#4593)
This commit is contained in:
@ -593,7 +593,7 @@ public class PlayerEventListener implements Listener {
|
||||
return;
|
||||
}
|
||||
Plot plot = area.getPlot(location);
|
||||
if (plot != null) {
|
||||
if (plot != null && !plot.equals(lastPlot)) {
|
||||
final boolean result = DenyTeleportFlag.allowsTeleport(pp, plot);
|
||||
// there is one possibility to still allow teleportation:
|
||||
// to is identical to the plot's home location, and untrusted-visit is true
|
||||
|
Reference in New Issue
Block a user