Started work on revamping command system for permissions, but I'm out for the night, cya tomorrow
This commit is contained in:
parent
3774c30f7d
commit
8344801128
6 changed files with 70 additions and 1 deletions
|
|
@ -26,6 +26,11 @@ namespace TShockAPI
|
|||
return Terraria.Main.player[player];
|
||||
}
|
||||
|
||||
public int GetPlayerID()
|
||||
{
|
||||
return player;
|
||||
}
|
||||
|
||||
public bool IsAdmin()
|
||||
{
|
||||
if (adminSet)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue