fixe (#18591)
Co-authored-by: moonheart08 <moonheart08@users.noreply.github.com>
This commit is contained in:
@@ -217,7 +217,7 @@ namespace Content.Server.Administration.Systems
|
|||||||
var player = actor.PlayerSession;
|
var player = actor.PlayerSession;
|
||||||
|
|
||||||
// Delete verb
|
// Delete verb
|
||||||
if (_groupController.CanCommand(player, "deleteentity"))
|
if (_toolshed.ActivePermissionController?.CheckInvokable(new CommandSpec(_toolshed.GetCommand("delete"), null), player, out _) ?? false)
|
||||||
{
|
{
|
||||||
Verb verb = new()
|
Verb verb = new()
|
||||||
{
|
{
|
||||||
@@ -232,7 +232,7 @@ namespace Content.Server.Administration.Systems
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Rejuvenate verb
|
// Rejuvenate verb
|
||||||
if (_groupController.CanCommand(player, "rejuvenate"))
|
if (_toolshed.ActivePermissionController?.CheckInvokable(new CommandSpec(_toolshed.GetCommand("rejuvenate"), null), player, out _) ?? false)
|
||||||
{
|
{
|
||||||
Verb verb = new()
|
Verb verb = new()
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user