Describe the bug
As the title says, when a modifier is stored in a variable and the server restarted or when you reload the world the computer shuts down. I tried with the color modifier and the auto translation modifier and both do the same.
In which environment did the Bug appear?
Singleplayer, Forge server
To Reproduce
Steps to reproduce the behavior:
On a computer in the lua interpreter type in something like the code snippet below
Shut down the server or log out of the world
Restart the server or come back into the world
The computer will be turned off and some errors are going to be in the logs
Expected behavior
The computer continues where it left off when reloading the world.
Screenshots / Code Snippet
g = component.glasses
g.removeAll()
t = g.addText2D()
t.addColor(1,1,1,1)
m = t.modifiers()[1]
Describe the bug As the title says, when a modifier is stored in a variable and the server restarted or when you reload the world the computer shuts down. I tried with the color modifier and the auto translation modifier and both do the same.
In which environment did the Bug appear? Singleplayer, Forge server
To Reproduce Steps to reproduce the behavior:
Expected behavior The computer continues where it left off when reloading the world.
Screenshots / Code Snippet
Minecraft:
Additional context