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

15 lines
344 B
C#
Raw Normal View History

using HarmonyLib;
using QSB.Patches;
2021-03-25 21:10:20 +00:00
2022-03-03 03:46:33 +00:00
namespace QSB.GeyserSync.Patches;
[HarmonyPatch]
2023-07-28 18:30:57 +00:00
public class GeyserPatches : QSBPatch
2021-03-25 21:10:20 +00:00
{
2022-03-03 03:46:33 +00:00
public override QSBPatchTypes Type => QSBPatchTypes.OnNonServerClientConnect;
2021-03-25 21:10:20 +00:00
2022-03-03 03:46:33 +00:00
[HarmonyPrefix]
[HarmonyPatch(typeof(GeyserController), nameof(GeyserController.Update))]
public static bool Empty()
=> false;
}