We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0b3f925 commit 7c2b387Copy full SHA for 7c2b387
1 file changed
src/Compilation.cs
@@ -222,8 +222,7 @@ private void PreparseScript(CompilablePlugin plugin)
222
if (match.Success)
223
{
224
var result = match.Groups[1].Value;
225
- // TODO: Fix Oxide.References to avoid these and other dependency conflicts
226
- if (!result.StartsWith("Oxide.") && !result.StartsWith("Newtonsoft.Json") && !result.StartsWith("Rust.Workshop"))
+ if (!result.StartsWith("Oxide.") && !result.StartsWith("Newtonsoft.Json") && !result.StartsWith("protobuf-net") && !result.StartsWith("Rust."))
227
228
AddReference(plugin, result);
229
Interface.Oxide.LogInfo("Added '// Reference: {0}' in plugin '{1}'", result, plugin.Name);
0 commit comments