14 lines
370 B
C#
Raw Normal View History

2022-03-29 14:44:50 -07:00
using QSB.EchoesOfTheEye.DreamObjectProjectors.WorldObject;
using QSB.Messaging;
namespace QSB.EchoesOfTheEye.DreamRafts.Messages;
2022-03-29 14:44:50 -07:00
public class RespawnRaftMessage : QSBWorldObjectMessage<QSBDreamObjectProjector>
{
2022-03-29 14:44:50 -07:00
public override void OnReceiveRemote()
{
var attachedObject = (DreamRaftProjector)WorldObject.AttachedObject;
2022-08-28 22:21:20 -07:00
attachedObject.RespawnRaft();
2022-03-29 14:44:50 -07:00
}
}