Allows a sneaking player to see information about a silent stargate (0.9.1.2)
	
		
			
	
		
	
	
		
	
		
			Some checks failed
		
		
	
	
		
			
				
	
				EpicKnarvik97/Stargate/pipeline/head There was a failure building this commit
				
			
		
		
	
	
				
					
				
			
		
			Some checks failed
		
		
	
	EpicKnarvik97/Stargate/pipeline/head There was a failure building this commit
				
			This commit is contained in:
		| @@ -388,6 +388,10 @@ portalInfoServer=Server: %server% | |||||||
|  |  | ||||||
| # Changes | # Changes | ||||||
|  |  | ||||||
|  | #### \[Version 0.9.1.2] EpicKnarvik97 fork | ||||||
|  |  | ||||||
|  | - Allows a sneaking player to see information about a silent stargate with no sign | ||||||
|  |  | ||||||
| #### \[Version 0.9.1.1] EpicKnarvik97 fork | #### \[Version 0.9.1.1] EpicKnarvik97 fork | ||||||
|  |  | ||||||
| - Makes sure to translate the `&` character to fix a bug causing portal signs to not be colored on some servers | - Makes sure to translate the `&` character to fix a bug causing portal signs to not be colored on some servers | ||||||
|   | |||||||
							
								
								
									
										2
									
								
								pom.xml
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								pom.xml
									
									
									
									
									
								
							| @@ -4,7 +4,7 @@ | |||||||
|  |  | ||||||
|     <groupId>net.knarcraft</groupId> |     <groupId>net.knarcraft</groupId> | ||||||
|     <artifactId>Stargate</artifactId> |     <artifactId>Stargate</artifactId> | ||||||
|     <version>0.9.1.1</version> |     <version>0.9.1.2</version> | ||||||
|  |  | ||||||
|     <licenses> |     <licenses> | ||||||
|         <license> |         <license> | ||||||
|   | |||||||
| @@ -317,7 +317,7 @@ public class PlayerEventListener implements Listener { | |||||||
|         } |         } | ||||||
|  |  | ||||||
|         //Display portal information as a portal without a sign does not display any |         //Display portal information as a portal without a sign does not display any | ||||||
|         if (portal.getOptions().hasNoSign() && !portal.getOptions().isSilent()) { |         if (portal.getOptions().hasNoSign() && (!portal.getOptions().isSilent() || player.isSneaking())) { | ||||||
|             MessageSender sender = Stargate.getMessageSender(); |             MessageSender sender = Stargate.getMessageSender(); | ||||||
|             sender.sendSuccessMessage(player, ChatColor.GOLD + Stargate.getString("portalInfoTitle")); |             sender.sendSuccessMessage(player, ChatColor.GOLD + Stargate.getString("portalInfoTitle")); | ||||||
|             sender.sendSuccessMessage(player, Stargate.replaceVars(Stargate.getString("portalInfoName"), |             sender.sendSuccessMessage(player, Stargate.replaceVars(Stargate.getString("portalInfoName"), | ||||||
|   | |||||||
| @@ -1,6 +1,6 @@ | |||||||
| name: Stargate | name: Stargate | ||||||
| main: net.knarcraft.stargate.Stargate | main: net.knarcraft.stargate.Stargate | ||||||
| version: 0.9.1.1 | version: 0.9.1.2 | ||||||
| description: Stargate mod for Bukkit Revived | description: Stargate mod for Bukkit Revived | ||||||
| author: EpicKnarvik97 | author: EpicKnarvik97 | ||||||
| authors: [ Drakia, PseudoKnight, EpicKnarvik97 ] | authors: [ Drakia, PseudoKnight, EpicKnarvik97 ] | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user