From 88c197f95b5c4bc12cdfae750a0818389a0a4e6a Mon Sep 17 00:00:00 2001 From: WhiteFang Date: Fri, 5 Aug 2022 22:02:41 +0200 Subject: [PATCH] [RecoverEmptyContainers] Fixed an exception log that was caused when running the plugin client-side --- CHANGELOG.md | 3 +++ RecoverEmptyContainers/Plugin.cs | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6e94ad3..f6aa9c1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,9 @@ * Initial release ## Recover Empty Containers +### Next Release +* Fixed an exception log that was caused when running the plugin client-side + ### v1.0.1 * Fixed an exploit where you could get infinite empty containers when cancelling the ability usage of the Potion/Brew diff --git a/RecoverEmptyContainers/Plugin.cs b/RecoverEmptyContainers/Plugin.cs index 00ec137..d6e28f4 100644 --- a/RecoverEmptyContainers/Plugin.cs +++ b/RecoverEmptyContainers/Plugin.cs @@ -38,6 +38,10 @@ public sealed override void Load() public void OnGameInitialized() { + if(VWorld.IsClient) + { + return; + } RecoverEmptyContainersSystem.Initialize(); }