Fix error when using player only commands in console