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

SolarPanelPartBlockEntity's basePos is not persisted after reloading the world #386

Open
Roelymole opened this issue Jan 4, 2025 · 0 comments

Comments

@Roelymole
Copy link
Contributor

Version Information

2228bc6

Log or Crash Report

No response

Reproduction steps

  1. Place a basic or advanced solar panel.
  2. The basePos is correctly set to the BlockPos of the block you just placed.
  3. Reload the world.
  4. The basePos is now set to the default value of BlockPos.ZERO

There are saveAdditional and loadAdditional methods which appear to attempt to persist the value of basePos, however this is clearly unsuccessful.

The CryogenicChamberPartBlockEntity might also have the same problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant