diff --git a/QSB/EchoesOfTheEye/RaftSync/Messages/RaftDockOnPressInteractMessage.cs b/QSB/EchoesOfTheEye/RaftSync/Messages/RaftDockOnPressInteractMessage.cs index 1e699b51..848e599f 100644 --- a/QSB/EchoesOfTheEye/RaftSync/Messages/RaftDockOnPressInteractMessage.cs +++ b/QSB/EchoesOfTheEye/RaftSync/Messages/RaftDockOnPressInteractMessage.cs @@ -5,5 +5,5 @@ namespace QSB.EchoesOfTheEye.RaftSync.Messages; public class RaftDockOnPressInteractMessage : QSBWorldObjectMessage { - public override void OnReceiveRemote() => WorldObject.OnPressInteract(); + public override void OnReceiveRemote() => WorldObject.AttachedObject.OnPressInteract(); } diff --git a/QSB/EchoesOfTheEye/RaftSync/WorldObjects/QSBRaftDock.cs b/QSB/EchoesOfTheEye/RaftSync/WorldObjects/QSBRaftDock.cs index 7eccf6e3..9b4761f3 100644 --- a/QSB/EchoesOfTheEye/RaftSync/WorldObjects/QSBRaftDock.cs +++ b/QSB/EchoesOfTheEye/RaftSync/WorldObjects/QSBRaftDock.cs @@ -6,6 +6,4 @@ namespace QSB.EchoesOfTheEye.RaftSync.WorldObjects; public class QSBRaftDock : WorldObject, IQSBDropTarget { IItemDropTarget IQSBDropTarget.AttachedObject => AttachedObject; - - public void OnPressInteract() => AttachedObject.OnPressInteract(); }