From 9ff07f08f07fd2af216cb9cf3e73a494646621aa Mon Sep 17 00:00:00 2001 From: ZeeWanderer Date: Sat, 31 May 2025 01:37:53 +0300 Subject: [PATCH] Fix unload --- VCF.Core/Plugin.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/VCF.Core/Plugin.cs b/VCF.Core/Plugin.cs index de3536f..cb82615 100644 --- a/VCF.Core/Plugin.cs +++ b/VCF.Core/Plugin.cs @@ -34,6 +34,9 @@ public override void Load() public override bool Unload() { + if (!Breadstone.VWorld.IsServer) + return true; + _harmony.UnpatchSelf(); return true; }