mirror of
				https://github.com/IntellectualSites/PlotSquared.git
				synced 2025-10-31 01:23:44 +01:00 
			
		
		
		
	Fixed feedback recipient for notify flags (Owner instead of entering / leaving player) (#3011)
This commit is contained in:
		 Patrick "IPat" Hein
					Patrick "IPat" Hein
				
			
				
					committed by
					
						 GitHub
						GitHub
					
				
			
			
				
	
			
			
			 GitHub
						GitHub
					
				
			
						parent
						
							48815649a8
						
					
				
				
					commit
					2c40648a60
				
			| @@ -175,7 +175,7 @@ public class PlotListener { | ||||
|                     for (UUID uuid : plot.getOwners()) { | ||||
|                         final PlotPlayer<?> owner = PlotSquared.platform().playerManager().getPlayerIfExists(uuid); | ||||
|                         if (owner != null && !owner.getUUID().equals(player.getUUID()) && owner.canSee(player)) { | ||||
|                             player.sendMessage( | ||||
|                             owner.sendMessage( | ||||
|                                     TranslatableCaption.of("notification.notify_enter"), | ||||
|                                     Template.of("player", player.getName()), | ||||
|                                     Template.of("plot", plot.getId().toString()) | ||||
| @@ -383,7 +383,7 @@ public class PlotListener { | ||||
|                         for (UUID uuid : plot.getOwners()) { | ||||
|                             final PlotPlayer<?> owner = PlotSquared.platform().playerManager().getPlayerIfExists(uuid); | ||||
|                             if ((owner != null) && !owner.getUUID().equals(player.getUUID()) && owner.canSee(player)) { | ||||
|                                 player.sendMessage( | ||||
|                                 owner.sendMessage( | ||||
|                                         TranslatableCaption.of("notification.notify_leave"), | ||||
|                                         Template.of("player", player.getName()), | ||||
|                                         Template.of("plot", plot.getId().toString()) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user