public void checkCommand(List<String> command, Logger log){
		log.writeToBoth("Console ran command: " + command);
		currentString = "";
		if(command.size() > 0){
			if(command.get(0).equalsIgnoreCase(Command.EXIT.command) && command.size() < 2){
				Commands.exit(log);
			}
			else if(command.get(0).equalsIgnoreCase(Command.LOAD.command)){
				Commands.load(command.get(1), Main.map, log);
			}
			else if(command.get(0).equalsIgnoreCase(Command.SAVE.command)){
				Commands.save(command.get(1), Main.map, log);
			}
			else{
				log.writeToBoth("Command did nothing.");
			}
		}
		else{
			log.writeToBoth("Empty command ran.");
		}
	}