Fix the last sendtilesquare exploit, I hope.
This commit is contained in:
parent
16093fd9ca
commit
61b8885ba0
2 changed files with 298 additions and 288 deletions
|
|
@ -628,8 +628,7 @@ namespace TShockAPI.DB
|
|||
return true;
|
||||
}
|
||||
|
||||
return AllowedIDs.Contains(ply.UserID) || AllowedGroups.Contains(ply.Group.Name) || Owner == ply.UserAccountName ||
|
||||
ply.Group.HasPermission("manageregion");
|
||||
return AllowedIDs.Contains(ply.UserID) || AllowedGroups.Contains(ply.Group.Name) || Owner == ply.UserAccountName;
|
||||
}
|
||||
|
||||
public void setAllowedIDs(String ids)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue