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

16 lines
357 B
C#

using HarmonyLib;
using QSB.Patches;
namespace QSB.GeyserSync.Patches
{
[HarmonyPatch]
internal class GeyserPatches : QSBPatch
{
public override QSBPatchTypes Type => QSBPatchTypes.OnNonServerClientConnect;
[HarmonyPrefix]
[HarmonyPatch(typeof(GeyserController), nameof(GeyserController.Update))]
public static bool Empty()
=> false;
}
}