mirror of
				https://github.com/mcMMO-Dev/mcMMO.git
				synced 2025-10-31 09:13:43 +01:00 
			
		
		
		
	Fix issue that I made, apparently my fix was not in my commit at the time.
This commit is contained in:
		| @@ -339,6 +339,7 @@ public class mcPlayerListener extends PlayerListener | ||||
| 		if(!message.startsWith("/")) return; | ||||
| 		String command = message.substring(1).split(" ")[0]; | ||||
| 		if(plugin.aliasMap.containsKey(command)) { | ||||
| 			if(command.equalsIgnoreCase(plugin.aliasMap.get(command))) return; | ||||
| 			event.setCancelled(true); | ||||
| 			event.getPlayer().chat(message.replaceFirst(command, plugin.aliasMap.get(command))); | ||||
| 		} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 NuclearW
					NuclearW