}
}
if (isAliveInstance(obj)) {
Alive alive = castToAlive(obj);
if (alive.getTerminalOutput() == null) {
alive.setTerminalOutput(new LoggingExtendedTerminalIO(null));
LoggingExtendedTerminalIO io = (LoggingExtendedTerminalIO) alive.getTerminalOutput();
if (io != null) {
io.setObject(alive);
}
}
}
addMudObject(obj.getId() == null ? obj.getName() : obj.getId(), obj);
addMudObject(obj);