mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-09-17 11:15:12 -04:00
Updated native lib with a couple of bugfixes (for Windows for now, others will be recompiled and updated after it's confirmed that the fixes actually work).
This commit is contained in:
parent
ac811de85d
commit
12ae22eb30
Binary file not shown.
Binary file not shown.
@ -12,6 +12,7 @@ class PersistenceAPI(owner: NativeLuaArchitecture) extends NativeLuaAPI(owner) {
|
||||
lua.pushString("__persist" + UUID.randomUUID().toString.replaceAll("-", ""))
|
||||
lua.setGlobal("persistKey")
|
||||
|
||||
if (Settings.get.allowPersistence) {
|
||||
// These tables must contain all java callbacks (i.e. C functions, since
|
||||
// they are wrapped on the native side using a C function, of course).
|
||||
// They are used when persisting/unpersisting the state so that the
|
||||
@ -79,6 +80,7 @@ class PersistenceAPI(owner: NativeLuaArchitecture) extends NativeLuaAPI(owner) {
|
||||
lua.setField(LuaState.REGISTRYINDEX, "uperms") /* ... perms */
|
||||
lua.setField(LuaState.REGISTRYINDEX, "perms") /* ... */
|
||||
}
|
||||
}
|
||||
|
||||
def configure() {
|
||||
lua.getGlobal("eris")
|
||||
|
Loading…
x
Reference in New Issue
Block a user