MCCTeam / Minecraft-Console-Client

Lightweight console for Minecraft chat and automated scripts
https://mccteam.github.io
Other
1.67k stars 402 forks source link

Scripting Hotfix for #2758 #2760

Closed breadbyte closed 4 months ago

breadbyte commented 4 months ago

Fixes #2758.

If you have run a script before the Sentry release, it will cause the compilation to fail.

Since it's looking for the Sentry assembly but it could not find it (since we cache the assemblies). The assembly cache is never updated when a new version is out, and is still using the version without Sentry on it.

This hotfix will check the cache each time a script is compiled, and update the cache if the version is mismatched.