1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2025-01-09 08:50:29 +00:00
CC-Tweaked/projects
Jonathan Coates 0069591af9
Fix overflow when converting recursive objects to Lua
In cdcd82679c, we rewrote the Lua
conversion function to update the "Java -> Lua" mapping after
conversion, rather than part way through.

This made the code a little cleaner (as we only updated the mapping in
one place), but is entirely incorrect — we need to store the object
first, in order to correctly handle recursive objects — otherwise we'll
just recurse infinitely (or until we overflow).

This partially reverts the above commit, while preserving the new
behaviour for singleton collections.

Fixes #1955.
2024-08-25 09:24:10 +01:00
..
common Japanese translation update (#1950) 2024-08-22 09:43:55 +00:00
common-api Fix several repeated words 2024-08-17 11:39:14 +01:00
core Fix overflow when converting recursive objects to Lua 2024-08-25 09:24:10 +01:00
core-api Don't share singleton collections 2024-08-18 10:20:54 +01:00
fabric Allow placing printouts in lecterns 2024-08-15 21:19:13 +01:00
fabric-api Rewrite turtle upgrade modeller registration API 2024-01-16 23:00:49 +00:00
forge Allow placing printouts in lecterns 2024-08-15 21:19:13 +01:00
forge-api Rewrite turtle upgrade modeller registration API 2024-01-16 23:00:49 +00:00
lints Fix disk drives not setting/clearing removed flag 2024-08-15 09:03:33 +01:00
standalone Small bits of cleanup 2024-06-26 18:07:57 +01:00
web Publish docs via an artifact instead 2024-06-19 09:57:56 +01:00
ARCHITECTURE.md Add a standalone CC:T UI 2023-10-28 17:58:11 +01:00