17 lines
358 B
C#
Raw Normal View History

using HarmonyLib;
using QSB.Patches;
2021-03-25 21:10:20 +00:00
namespace QSB.GeyserSync.Patches
{
[HarmonyPatch]
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
[HarmonyPrefix]
[HarmonyPatch(typeof(GeyserController), nameof(GeyserController.Update))]
public static bool Empty()
=> false;
2021-03-25 21:10:20 +00:00
}
}