[10.x] Fixes unable to call another command as a initialized instance of Command
class
#51824
+44
−4
Command
class
#51824