diff --git a/HelpSense/Commands/VersionCommand.cs b/HelpSense/Commands/VersionCommand.cs index 7a75f02..465c81b 100644 --- a/HelpSense/Commands/VersionCommand.cs +++ b/HelpSense/Commands/VersionCommand.cs @@ -12,7 +12,7 @@ public class VersionCommand : ICommand public string[] Aliases => ["VersionInfo", "VI"]; - public string Description => "查询HelpSense插件版本和信息"; + public string Description => "查询HelpSense插件版本和信息-Plugin Info"; public bool Execute(ArraySegment arguments, ICommandSender sender, out string response) { diff --git a/HelpSense/Patches/ReloaderModulePatch.cs b/HelpSense/Patches/ReloaderModulePatch.cs index 7a021f8..f315eb5 100644 --- a/HelpSense/Patches/ReloaderModulePatch.cs +++ b/HelpSense/Patches/ReloaderModulePatch.cs @@ -28,12 +28,17 @@ public static bool Prefix(AnimatorReloaderModuleBase __instance , NetworkReader if (!__instance.TryContinueDeserialization(reader, Firearm.ItemSerial, header, AutosyncMessageType.Cmd)) { + reader.Position -= sizeof(byte); return true; } if (header is ReloaderMessageHeader.Reload && IReloadUnloadValidatorModule.ValidateReload(Firearm)) { - if (Firearm.ItemTypeId is ItemType.ParticleDisruptor) return true; + if (Firearm.ItemTypeId is ItemType.ParticleDisruptor) + { + reader.Position -= sizeof(byte); + return true; + } if (Firearm.TryGetModule(out var MagazineModule)) { switch (Plugin.Instance.Config.InfiniteAmmoType) diff --git a/HelpSense/Plugin.cs b/HelpSense/Plugin.cs index 2a61043..cfb1477 100644 --- a/HelpSense/Plugin.cs +++ b/HelpSense/Plugin.cs @@ -103,7 +103,7 @@ public class Plugin public ItemBase SCP1056Base; public static System.Version PluginVersion => new(1, 4, 0); - public static DateTime LastUpdateTime => new(2025, 1, 25, 23, 04, 00); + public static DateTime LastUpdateTime => new(2025, 1, 28, 13, 27, 25); public static System.Version RequiredGameVersion => new(14, 0, 2); [PluginEntryPoint("HelpSense", "1.4.0", "HelpSense综合服务器插件", "X小左")]