- Fixed HalloweenPumpkin still appearing in the cursor after being deleted.
- Added sounds and messages to HalloweenPumpkin lighting. - Corrected PlayerBones base class. - Fixed old JackOLantern component names. - Fixed core re-sending deleted items on lift rejection.
This commit is contained in:
parent
e7c392b34f
commit
3c10fd8e32
4 changed files with 55 additions and 35 deletions
|
|
@ -19,7 +19,7 @@ namespace Server.Items
|
|||
AddonComponent ac = new AddonComponent( itemID );
|
||||
|
||||
ac.Hue = hue;
|
||||
ac.Name = "jack-o-latern";
|
||||
ac.Name = "jack-o-lantern";
|
||||
|
||||
return ac;
|
||||
}
|
||||
|
|
@ -61,7 +61,7 @@ namespace Server.Items
|
|||
{
|
||||
base.Serialize( writer );
|
||||
|
||||
writer.Write( (byte) 1 ); // version
|
||||
writer.Write( (byte) 2 ); // version
|
||||
}
|
||||
|
||||
public override void Deserialize( GenericReader reader )
|
||||
|
|
@ -83,6 +83,20 @@ namespace Server.Items
|
|||
}
|
||||
} );
|
||||
}
|
||||
|
||||
if ( version <= 1 )
|
||||
{
|
||||
Timer.DelayCall( TimeSpan.Zero, delegate()
|
||||
{
|
||||
for ( int i = 0; i < Components.Count; ++i )
|
||||
{
|
||||
AddonComponent ac = Components[i] as AddonComponent;
|
||||
|
||||
if ( ac != null )
|
||||
ac.Name = "jack-o-lantern";
|
||||
}
|
||||
} );
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue