Cleanup and adds configuration for crashguard (#240)
This commit is contained in:
parent
55ae0f8778
commit
7dbfa086bc
39 changed files with 1248 additions and 97 deletions
|
|
@ -102,10 +102,10 @@ namespace Server.Items
|
|||
}
|
||||
|
||||
public static bool ValidateDefault(Mobile from, BaseBoard board) =>
|
||||
!board.Deleted && (from.AccessLevel >= AccessLevel.GameMaster || @from.Alive &&
|
||||
(board.IsChildOf(@from.Backpack) || !(board.RootParent is Mobile) &&
|
||||
board.Map == @from.Map && @from.InRange(board.GetWorldLocation(), 1) &&
|
||||
BaseHouse.FindHouseAt(board)?.IsOwner(@from) == true));
|
||||
!board.Deleted && (from.AccessLevel >= AccessLevel.GameMaster || from.Alive &&
|
||||
(board.IsChildOf(from.Backpack) || !(board.RootParent is Mobile) &&
|
||||
board.Map == from.Map && from.InRange(board.GetWorldLocation(), 1) &&
|
||||
BaseHouse.FindHouseAt(board)?.IsOwner(from) == true));
|
||||
|
||||
public class DefaultEntry : ContextMenuEntry
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue