bug fixes
pets can no longer be renamed while in jail
This commit is contained in:
parent
8150706a3c
commit
c26e081c58
12 changed files with 181 additions and 134 deletions
|
|
@ -4271,7 +4271,7 @@ namespace Server.Mobiles
|
|||
{
|
||||
bool ret = base.CanBeRenamedBy( from );
|
||||
|
||||
if ( Controlled && from == ControlMaster )
|
||||
if ( Controlled && from == ControlMaster && !from.Region.IsPartOf( typeof( Jail ) ) )
|
||||
ret = true;
|
||||
|
||||
return ret;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue