Replace usages of ISharedNotifyManager and IServerNotifyManager with extension methods (#1965)
* Replace usages of ISharedNotifyManager and IServerNotifyManager with extension methods * Remove redundant code
This commit is contained in:
@@ -126,8 +126,7 @@ namespace Content.Server.GameObjects.Components.Items.Storage
|
||||
{
|
||||
if (!reader.IsAllowed(user))
|
||||
{
|
||||
IoCManager.Resolve<IServerNotifyManager>()
|
||||
.PopupMessage(Owner, user, Loc.GetString("Access denied"));
|
||||
Owner.PopupMessage(user, Loc.GetString("Access denied"));
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user