Update CommandBase.java

Possibly fixed xbox controller null pointer problems.