quantum-space-buddies/QSB/QuantumSync/ClientQuantumStateChangePatches.cs
2020-12-22 21:39:53 +00:00

14 lines
442 B
C#

using QSB.Patches;
namespace QSB.QuantumSync
{
public class ClientQuantumStateChangePatches : QSBPatch
{
public override QSBPatchTypes Type => QSBPatchTypes.OnNonServerClientConnect;
public override void DoPatches() => QSBCore.Helper.HarmonyHelper.AddPrefix<SocketedQuantumObject>("ChangeQuantumState", typeof(ClientQuantumStateChangePatches), nameof(ChangeQuantumState));
public static bool ChangeQuantumState() => false;
}
}