e9819d48941cb13f80ec38326f1498c787cf2d70
- New unwrapNbtObject(obj): detects whether the table actually has a [1] wrapper AND outer table has exactly 1 key AND the inner [1] is useful, then returns inner object; otherwise returns obj unchanged - works transparently for both SP and MP structures - Replace ALL hard-coded [1] dereferences in BlockReader parsing: - stop.Station -> unwrapNbtObject(stop.Station) - st.RealTimeStation -> unwrapNbtObject(st.RealTimeStation) - st.ScheduledStation -> unwrapNbtObject(st.ScheduledStation) - rtStation.StationInfo -> unwrapNbtObject(rtStation.StationInfo) - schStation.StationInfo -> unwrapNbtObject(schStation.StationInfo) - stop.Train -> unwrapNbtObject(stop.Train) - stop.Stopovers[i] entries: deep-unwrap if table, try StationName/Name fields to get string destination from potential NBT compound stopovers - tr.Status entries: unwrap each element before reading as string - This eliminates the MP-only failure where st=nil (because SP-style Station[1] didn't exist) causing the whole TrainStop loop to skip inserting anything into newUpcoming and render UPCOMING as ??? Bump to v1.0.76
tmp_vercel_proxy
@ a0601221d4
Description
No description provided
123 MiB
Languages
HTML
49.3%
JavaScript
25.5%
Lua
25.2%