Fixes implicit ternary expressions
This commit is contained in:
parent
c85b0a740c
commit
ff26dfa375
345 changed files with 1905 additions and 2336 deletions
|
|
@ -59,8 +59,8 @@ namespace Server.Items
|
|||
{
|
||||
return m_End - DateTime.UtcNow;
|
||||
}
|
||||
else
|
||||
return m_Duration;
|
||||
|
||||
return m_Duration;
|
||||
}
|
||||
|
||||
set => m_Duration = value;
|
||||
|
|
|
|||
|
|
@ -11,8 +11,7 @@ namespace Server.Items
|
|||
{
|
||||
if ( ItemID == 0x24C2 )
|
||||
return 0x24C1;
|
||||
else
|
||||
return 0x24C3;
|
||||
return 0x24C3;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -22,8 +21,7 @@ namespace Server.Items
|
|||
{
|
||||
if ( ItemID == 0x24C1 )
|
||||
return 0x24C2;
|
||||
else
|
||||
return 0x24C4;
|
||||
return 0x24C4;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -11,8 +11,7 @@ namespace Server.Items
|
|||
{
|
||||
if ( ItemID == 0x9FB )
|
||||
return 0x9FD;
|
||||
else
|
||||
return 0xA02;
|
||||
return 0xA02;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -22,8 +21,7 @@ namespace Server.Items
|
|||
{
|
||||
if ( ItemID == 0x9FD )
|
||||
return 0x9FB;
|
||||
else
|
||||
return 0xA00;
|
||||
return 0xA00;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -11,8 +11,7 @@ namespace Server.Items
|
|||
{
|
||||
if ( ItemID == 0xA05 )
|
||||
return 0xA07;
|
||||
else
|
||||
return 0xA0C;
|
||||
return 0xA0C;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -22,8 +21,7 @@ namespace Server.Items
|
|||
{
|
||||
if ( ItemID == 0xA07 )
|
||||
return 0xA05;
|
||||
else
|
||||
return 0xA0A;
|
||||
return 0xA0A;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -11,8 +11,7 @@ namespace Server.Items
|
|||
{
|
||||
if ( ItemID == 0x24C6 )
|
||||
return 0x24C5;
|
||||
else
|
||||
return 0x24C7;
|
||||
return 0x24C7;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -22,8 +21,7 @@ namespace Server.Items
|
|||
{
|
||||
if ( ItemID == 0x24C5 )
|
||||
return 0x24C6;
|
||||
else
|
||||
return 0x24C8;
|
||||
return 0x24C8;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue