1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2025-08-10 07:43:51 +00:00

Update Cobalt to 0.9.6

- Allow heterogenous __lt/__le.
This commit is contained in:
Jonathan Coates 2025-04-21 14:36:44 +01:00
parent 8711512769
commit 947001104d
No known key found for this signature in database
GPG Key ID: B9E431FF07C98D06
2 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@ slf4j = "2.0.1"
asm = "9.6"
autoService = "1.1.1"
checkerFramework = "3.42.0"
cobalt = { strictly = "0.9.5" }
cobalt = { strictly = "0.9.6" }
commonsCli = "1.6.0"
jetbrainsAnnotations = "24.1.0"
jspecify = "1.0.0"

View File

@ -77,7 +77,7 @@ public class CobaltLuaMachine implements ILuaMachine {
try {
var globals = state.globals();
CoreLibraries.debugGlobals(state);
Bit32Lib.add(state, globals);
Bit32Lib.add(state);
ErrorInfoLib.add(state);
globals.rawset("_HOST", ValueFactory.valueOf(environment.hostString()));
globals.rawset("_CC_DEFAULT_SETTINGS", ValueFactory.valueOf(CoreConfig.defaultComputerSettings));