diff --git a/slocLoader/API.Create.cs b/slocLoader/API.Create.cs index ef64603..474192b 100644 --- a/slocLoader/API.Create.cs +++ b/slocLoader/API.Create.cs @@ -113,7 +113,8 @@ private static GameObject CreatePrimitive(GameObject parent, PrimitiveObject pri toy.MaterialColor = primitive.MaterialColor; ApplyAdminToyTransform(toy, sloc.HasColliderOnClient); if (!sloc.HasColliderOnClient) - toy.NetworkPrimitiveFlags &= ~PrimitiveFlags.Collidable; + toy.PrimitiveFlags &= ~PrimitiveFlags.Collidable; + toy.SetPrimitive(0, toy.PrimitiveType); return o; } diff --git a/slocLoader/ExiledPlugin.cs b/slocLoader/ExiledPlugin.cs index c10cec0..8c55f6f 100644 --- a/slocLoader/ExiledPlugin.cs +++ b/slocLoader/ExiledPlugin.cs @@ -16,7 +16,7 @@ public sealed class slocPlugin : Plugin public override string Prefix => "sloc"; public override string Author => "Axwabo"; public override PluginPriority Priority => PluginPriority.High; - public override Version Version { get; } = new(5, 2, 0); + public override Version Version { get; } = new(5, 2, 1); public override Version RequiredExiledVersion { get; } = new(8, 4, 0); private Harmony _harmony; diff --git a/slocLoader/NWPlugin.cs b/slocLoader/NWPlugin.cs index 59214f9..d0636e1 100644 --- a/slocLoader/NWPlugin.cs +++ b/slocLoader/NWPlugin.cs @@ -16,7 +16,7 @@ public sealed class slocPlugin [PluginConfig] public slocConfig Config = new(); - [PluginEntryPoint("slocLoader", "5.2.0", "A plugin that loads sloc files.", "Axwabo")] + [PluginEntryPoint("slocLoader", "5.2.1", "A plugin that loads sloc files.", "Axwabo")] public void OnEnabled() { Instance = this; diff --git a/slocLoader/Properties/AssemblyInfo.cs b/slocLoader/Properties/AssemblyInfo.cs index 465807a..d179795 100644 --- a/slocLoader/Properties/AssemblyInfo.cs +++ b/slocLoader/Properties/AssemblyInfo.cs @@ -35,5 +35,5 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("5.2.0.0")] -[assembly: AssemblyFileVersion("5.2.0.0")] +[assembly: AssemblyVersion("5.2.1.0")] +[assembly: AssemblyFileVersion("5.2.1.0")]