mirror of
				https://github.com/IntellectualSites/PlotSquared.git
				synced 2025-11-04 11:13:45 +01: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