-
|
Greetings, But to my question, after I adapted everything, I get an interesting error every time I am trying to access something from the Looking at the Stacktrace: https://gist.github.com/SirEndii/5b5890b093f38a356c95e63a47bb888e Also, when I am already here, I have a second question related to the sources of CC. Do I somehow need to trick gradle in doing everything right and automatically |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
|
Ahh, you just want to do
Oh, apparently the Forge sources got entirely clobbered, sorry! I'm really not sure how this happened — |
Beta Was this translation helpful? Give feedback.
Ahh, you just want to do
new ObjectLuaTable(args.getTable(0));! ReallygetTableshould return aLuaTabledirectly, but we can't do that without breaking API compat.getTableUnsafeprovides aLuaTableimplementation that accesses the underlying table directly. This is useful for high-performance code (e.g.speaker.playAudio), as it allows us to read the table without copying the whole thing. However, it's only safe when used from the Lua thread (hence theUnsafebit!).Oh, apparently the Forge sources got entirely clobber…