mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-16 16:15:24 +00:00
14 lines
370 B
C#
14 lines
370 B
C#
using QSB.EchoesOfTheEye.DreamObjectProjectors.WorldObject;
|
|
using QSB.Messaging;
|
|
|
|
namespace QSB.EchoesOfTheEye.DreamRafts.Messages;
|
|
|
|
public class RespawnRaftMessage : QSBWorldObjectMessage<QSBDreamObjectProjector>
|
|
{
|
|
public override void OnReceiveRemote()
|
|
{
|
|
var attachedObject = (DreamRaftProjector)WorldObject.AttachedObject;
|
|
attachedObject.RespawnRaft();
|
|
}
|
|
}
|