mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-03-10 13:38:14 +00:00

- cc.require now uses the internal _LOADED table to get the list of built-in globals. This fixes several globals not showing up on the list (e.g. utf8), and allows us to inject more modules from the Java side. - ILuaAPI now has a getModuleName() function. This is used to inject the API into the aforementioned _LOADED table, allowing it to be "require"d.