chore: Use var everywhere (#2294)
This commit is contained in:
parent
0b34cc4417
commit
ebaf104935
267 changed files with 873 additions and 873 deletions
|
|
@ -263,7 +263,7 @@ public static partial class IncomingExtendedCommandPackets
|
|||
return;
|
||||
}
|
||||
|
||||
Item spellbook = reader.ReadInt16() == 1 ? World.FindItem((Serial)reader.ReadUInt32()) : null;
|
||||
var spellbook = reader.ReadInt16() == 1 ? World.FindItem((Serial)reader.ReadUInt32()) : null;
|
||||
|
||||
var spellID = reader.ReadInt16() - 1;
|
||||
Spellbook.CastSpellRequest(from, spellID, spellbook);
|
||||
|
|
@ -361,7 +361,7 @@ public static partial class IncomingExtendedCommandPackets
|
|||
|
||||
var from = state.Mobile;
|
||||
|
||||
Serial s = (Serial)reader.ReadUInt32();
|
||||
var s = (Serial)reader.ReadUInt32();
|
||||
|
||||
if (s.IsMobile)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue