mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-01-13 02:40:28 +00:00
parent
1554c7b397
commit
e076818b29
@ -14,7 +14,7 @@ parchmentMc = "1.19.2"
|
||||
asm = "9.3"
|
||||
autoService = "1.0.1"
|
||||
checkerFramework = "3.12.0"
|
||||
cobalt = "0.5.10"
|
||||
cobalt = "0.5.11"
|
||||
fastutil = "8.5.9"
|
||||
guava = "31.1-jre"
|
||||
jetbrainsAnnotations = "23.0.0"
|
||||
|
@ -83,7 +83,11 @@ public class CobaltLuaMachine implements ILuaMachine {
|
||||
}
|
||||
});
|
||||
})
|
||||
.errorReporter(e -> LOG.error(Logging.VM_ERROR, "Error occurred in the Lua runtime. Computer will continue to execute.", e))
|
||||
.errorReporter((e, msg) -> {
|
||||
if (LOG.isErrorEnabled(Logging.VM_ERROR)) {
|
||||
LOG.error(Logging.VM_ERROR, "Error occurred in the Lua runtime. Computer will continue to execute:\n{}", msg.get(), e);
|
||||
}
|
||||
})
|
||||
.build();
|
||||
|
||||
globals = new LuaTable();
|
||||
|
Loading…
Reference in New Issue
Block a user