Update RegisterCommand.java

Moved to 191 line.