PoroCoco / myaenetwork

Minecraft opencomputer LUA code to manage Applied energistic network from the web
MIT License
14 stars 6 forks source link

Hardcode the string unpack function #8

Open PoroCoco opened 6 months ago

PoroCoco commented 6 months ago

The string.unpack function from the string library was only made available since Lua 5.3 and some versions of opencomputer still uses Lua 5.2 by default (eg OC version in FTB Beyond). This can most of the time be fixed by doing a shift right click while holding the CPU to switch between the 2 versions but it would nonetheless be more pratical not to have to do that.