Fixes casting checks
This commit is contained in:
parent
7ea00fbf4f
commit
03dd5f1926
431 changed files with 5616 additions and 6250 deletions
|
|
@ -132,9 +132,9 @@ namespace Server.Items
|
|||
{
|
||||
Mobile from = state.Mobile;
|
||||
|
||||
if( info.ButtonID == 1 || info.ButtonID == 2 )
|
||||
if ( info.ButtonID == 1 || info.ButtonID == 2 )
|
||||
{
|
||||
if( from.Map == null || !from.Map.CanFit( from.Location, 16, false, false ) )
|
||||
if ( from.Map == null || !from.Map.CanFit( from.Location, 16, false, false ) )
|
||||
{
|
||||
from.SendLocalizedMessage( 502391 ); // Thou can not be resurrected there!
|
||||
return;
|
||||
|
|
|
|||
|
|
@ -258,7 +258,7 @@ namespace Server.Items
|
|||
}
|
||||
else
|
||||
{
|
||||
if( relay.Text.Length > 64 )
|
||||
if ( relay.Text.Length > 64 )
|
||||
m_Target.EngravedText = Utility.FixHtml( relay.Text.Substring( 0, 64 ) );
|
||||
else
|
||||
m_Target.EngravedText = Utility.FixHtml( relay.Text );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue