Tech Reborn

Tech Reborn

30M Downloads

Error when loading solar panel

ramidzkh opened this issue ยท 0 comments

commented

Describe the bug
Trying to deserialize the solar panel block entity throws an error as there is no zero argument constructor for SolarPanelBlockEntity.
https://github.com/TechReborn/TechReborn/blob/1.16/src/main/java/techreborn/init/TRBlockEntities.java#L157
https://github.com/TechReborn/TechReborn/blob/1.16/src/main/java/techreborn/blockentity/generator/SolarPanelBlockEntity.java#L68

Steps to Reproduce

  1. Place a solar panel in a world
  2. Rejoin the world

Environment:

  • Minecraft: 1.16
  • Mod Loader: Fabric

Logs
https://gist.github.com/bf0492f4601459a1c20c8af34b5863fc