NPE fix
This commit is contained in:
		
							parent
							
								
									15faff3dd4
								
							
						
					
					
						commit
						703c69b055
					
				@ -31,6 +31,7 @@ public class SSHDCommandSender implements ConsoleCommandSender, CommandSender {
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public void sendRawMessage(String message) {
 | 
			
		||||
        if(ConsoleShellFactory.ConsoleShell.consoleReader == null) return;
 | 
			
		||||
        try {
 | 
			
		||||
            ConsoleShellFactory.ConsoleShell.consoleReader.println(ChatColor.stripColor(message));
 | 
			
		||||
        } catch (IOException e) {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user