mirror of
				https://github.com/mcMMO-Dev/mcMMO.git
				synced 2025-10-31 17:23:42 +01:00 
			
		
		
		
	Slight change to ChatAPI implementation
This commit is contained in:
		| @@ -73,7 +73,7 @@ public final class ChatAPI { | |||||||
|      * @return true if the player is using party chat, false otherwise |      * @return true if the player is using party chat, false otherwise | ||||||
|      */ |      */ | ||||||
|     public static boolean isUsingPartyChat(Player player) { |     public static boolean isUsingPartyChat(Player player) { | ||||||
|         return UserManager.getPlayer(player).getPartyChatMode(); |         return isUsingPartyChat(player.getName()); | ||||||
|     } |     } | ||||||
|  |  | ||||||
|     /** |     /** | ||||||
| @@ -93,7 +93,7 @@ public final class ChatAPI { | |||||||
|      * @return true if the player is using admin chat, false otherwise |      * @return true if the player is using admin chat, false otherwise | ||||||
|      */ |      */ | ||||||
|     public static boolean isUsingAdminChat(Player player) { |     public static boolean isUsingAdminChat(Player player) { | ||||||
|         return UserManager.getPlayer(player).getAdminChatMode(); |         return isUsingAdminChat(player.getName()); | ||||||
|     } |     } | ||||||
|  |  | ||||||
|     /** |     /** | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 NuclearW
					NuclearW