mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-30 03:32:47 +00:00
15 lines
396 B
C#
15 lines
396 B
C#
using QSB.EchoesOfTheEye.DreamRafts.WorldObjects;
|
|
using QSB.Messaging;
|
|
using QSB.Patches;
|
|
|
|
namespace QSB.EchoesOfTheEye.DreamRafts.Messages;
|
|
|
|
public class RespawnRaftMessage : QSBWorldObjectMessage<QSBDreamRaftProjector>
|
|
{
|
|
public override void OnReceiveRemote()
|
|
{
|
|
var attachedObject = (DreamRaftProjector)WorldObject.AttachedObject;
|
|
QSBPatch.RemoteCall(attachedObject.RespawnRaft);
|
|
}
|
|
}
|