We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In mod code you can create an empty HashSet, but you can't use the collection initialiser syntax, for example:
HashSet<string> testSet = new HashSet<string> { "Test" };
This will give an error when compiling, saying that an assembly reference is missing for the ISet<> type.
ISet<>
I think the fix is just to include
typeof(ISet<>).Assembly.Location
in the assemblyLocations array in the ModLoader class, although I can't test this myself.
assemblyLocations
ModLoader
Simply include the collection initialiser syntax in the code for a mod.
exported game debug info.md
No response
The text was updated successfully, but these errors were encountered:
mestiez
No branches or pull requests
Describe the bug
In mod code you can create an empty HashSet, but you can't use the collection initialiser syntax, for example:
This will give an error when compiling, saying that an assembly reference is missing for the
ISet<>
type.I think the fix is just to include
in the
assemblyLocations
array in theModLoader
class, although I can't test this myself.Clearly describe how to reproduce the bug
Simply include the collection initialiser syntax in the code for a mod.
Game debug info
exported game debug info.md
Mod list
No response
Game version
No response
Operating System
No response
Additional notes
No response
The text was updated successfully, but these errors were encountered: