|
TModLoader v1.4.4.9
TModLoader source code documentation
|
|
get |
The Player object corresponding to the Player that invoked this command. Use this when the Player is needed. Don't use Main.LocalPlayer because that would be incorrect for various CommandTypes.
Implemented in Terraria.ModLoader.ChatCommandCaller, Terraria.ModLoader.ConsoleCommandCaller, and Terraria.ModLoader.PlayerCommandCaller.
Definition at line 12 of file CommandCaller.cs.