quantum-space-buddies/QSB/GeyserSync/Patches/GeyserPatches.cs

13 lines
388 B
C#
Raw Normal View History

2021-03-25 21:10:20 +00:00
using QSB.Patches;
namespace QSB.GeyserSync.Patches
{
2021-03-25 22:01:10 +00:00
internal class GeyserPatches : QSBPatch
2021-03-25 21:10:20 +00:00
{
2021-03-26 15:19:12 +00:00
public override QSBPatchTypes Type => QSBPatchTypes.OnNonServerClientConnect;
2021-03-25 21:10:20 +00:00
public override void DoPatches() => QSBCore.HarmonyHelper.EmptyMethod<GeyserController>("Update");
public override void DoUnpatches() => QSBCore.HarmonyHelper.Unpatch<GeyserController>("Update");
}
}