Fix ponder crashes when calling FluidTankBlockEntity#getControllerBE

This commit is contained in:
MarbleGate
2025-08-31 10:34:18 +08:00
committed by GitHub
parent 813ed0afa5
commit 4983e69425

View File

@@ -6,7 +6,6 @@ import com.simibubi.create.Create;
import com.simibubi.create.content.kinetics.crank.ValveHandleBlock; import com.simibubi.create.content.kinetics.crank.ValveHandleBlock;
import com.simibubi.create.content.logistics.packagePort.postbox.PostboxBlock; import com.simibubi.create.content.logistics.packagePort.postbox.PostboxBlock;
import com.simibubi.create.content.logistics.tableCloth.TableClothBlock; import com.simibubi.create.content.logistics.tableCloth.TableClothBlock;
import com.simibubi.create.foundation.ponder.PonderWorldBlockEntityFix;
import com.simibubi.create.infrastructure.ponder.AllCreatePonderScenes; import com.simibubi.create.infrastructure.ponder.AllCreatePonderScenes;
import com.simibubi.create.infrastructure.ponder.AllCreatePonderTags; import com.simibubi.create.infrastructure.ponder.AllCreatePonderTags;
import net.createmod.ponder.api.level.PonderLevel; import net.createmod.ponder.api.level.PonderLevel;
@@ -42,11 +41,4 @@ public class TFMGPonderPlugin implements PonderPlugin {
helper.registerSharedText("behaviour_modify_value_panel", "This behaviour can be modified using the value panel"); helper.registerSharedText("behaviour_modify_value_panel", "This behaviour can be modified using the value panel");
helper.registerSharedText("storage_on_contraption", "Inventories attached to the Contraption will pick up their drops automatically"); helper.registerSharedText("storage_on_contraption", "Inventories attached to the Contraption will pick up their drops automatically");
} }
@Override
public void onPonderLevelRestore(PonderLevel ponderLevel) {
PonderWorldBlockEntityFix.fixControllerBlockEntities(ponderLevel);
}
} }