mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-09-12 08:50:04 -04:00
Updated native libs to allow loading UTF8 lib via JNLua and expose it to sandbox.
This commit is contained in:
parent
fe73562563
commit
a1be494134
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -57,9 +57,8 @@ object LuaStateFactory {
|
||||
state.openLib(jnlua.LuaState.Library.MATH)
|
||||
state.openLib(jnlua.LuaState.Library.STRING)
|
||||
state.openLib(jnlua.LuaState.Library.TABLE)
|
||||
// TODO Enable once I update the natives.
|
||||
// state.openLib(jnlua.LuaState.Library.UTF8)
|
||||
state.pop(7)
|
||||
state.openLib(jnlua.LuaState.Library.UTF8)
|
||||
state.pop(8)
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user