SetCommandSender

GetPlayer

Given the environment, this function returns the Player in the
environment, which can possibly be null. It is also possible the
environment contains a CommandSender object instead, which will
cause null to be returned.