Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Computers can't load their state when a modifier is in a variable #98

Open
djpadbit opened this issue Dec 31, 2020 · 0 comments
Open

Comments

@djpadbit
Copy link

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:

  1. On a computer in the lua interpreter type in something like the code snippet below
  2. Shut down the server or log out of the world
  3. Restart the server or come back into the world
  4. 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]

Minecraft:

  • Mod Version: OpenGlasses-MC1.12.2-2.2-53
  • Minecraft Version: 1.12.2
  • Forge Version: 14.23.5.2854

Additional context

  • OpenComputers Version: 1.7.5.192
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant