Secrets-of-Sosaria / World

Code repository for the Secrets of Sosaria world
GNU General Public License v2.0
11 stars 9 forks source link

[BUG] Server crash when playing bard song without instrument #125

Closed creiht closed 1 week ago

creiht commented 1 week ago

Traceback:

System.NullReferenceException: Object reference not set to an instance of an object
  at Server.Spells.Song.FireThrenodySong.CheckSlayer (Server.Items.BaseInstrument instrument, Server.Mobile defender) [0x00000] in <6383cd364fcf4ae5b2d6cc7f729c26e7>:0
  at Server.Spells.Song.FireThrenodySong.Target (Server.Mobile m) [0x0007a] in <6383cd364fcf4ae5b2d6cc7f729c26e7>:0
  at Server.Spells.Song.FireThrenodySong+InternalTarget.OnTarget (Server.Mobile from, System.Object o) [0x0000b] in <6383cd364fcf4ae5b2d6cc7f729c26e7>:0
  at Server.Targeting.Target.Invoke (Server.Mobile from, System.Object targeted) [0x002b3] in <9080dfda86e84dab92294c752e9610f9>:0
  at Server.Network.PacketHandlers.TargetResponse (Server.Network.NetState state, Server.Network.PacketReader pvSrc) [0x0021b] in <9080dfda86e84dab92294c752e9610f9>:0
  at Server.Network.MessagePump.HandleReceive (Server.Network.NetState ns) [0x002d5] in <9080dfda86e84dab92294c752e9610f9>:0
  at Server.Network.MessagePump.Slice () [0x00057] in <9080dfda86e84dab92294c752e9610f9>:0
  at Server.Core.Main (System.String[] args) [0x0040a] in <9080dfda86e84dab92294c752e9610f9>:0