Update SpawnRaftMessage.cs

This commit is contained in:
JohnCorby 2022-03-27 13:33:16 -07:00
parent 8abf55da88
commit 9ac2bedba9

View File

@ -1,10 +1,11 @@
using QSB.EchoesOfTheEye.DreamRafts.WorldObjects; using QSB.EchoesOfTheEye.DreamRafts.WorldObjects;
using QSB.Messaging; using QSB.Messaging;
using QSB.Patches;
namespace QSB.EchoesOfTheEye.DreamRafts.Messages; namespace QSB.EchoesOfTheEye.DreamRafts.Messages;
public class SpawnRaftMessage : QSBWorldObjectMessage<QSBDreamRaftProjector> public class SpawnRaftMessage : QSBWorldObjectMessage<QSBDreamRaftProjector>
{ {
public override void OnReceiveRemote() => public override void OnReceiveRemote() =>
WorldObject.AttachedObject.RespawnRaft(); QSBPatch.RemoteCall(WorldObject.AttachedObject.RespawnRaft);
} }