Fixes implicit ternary expressions
This commit is contained in:
parent
c85b0a740c
commit
ff26dfa375
345 changed files with 1905 additions and 2336 deletions
|
|
@ -33,7 +33,8 @@ namespace Server.Items
|
|||
from.SendMessage( "You must have at least 60.0 skill in tinkering to construct a golem." );
|
||||
return;
|
||||
}
|
||||
else if ( (from.Followers + 4) > from.FollowersMax )
|
||||
|
||||
if ( (from.Followers + 4) > from.FollowersMax )
|
||||
{
|
||||
from.SendLocalizedMessage( 1049607 ); // You have too many followers to control that creature.
|
||||
return;
|
||||
|
|
@ -126,4 +127,4 @@ namespace Server.Items
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue