We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 55f0bf3 commit 7ac46ebCopy full SHA for 7ac46eb
src/main/java/gregtech/api/worldgen/bedrockFluids/BedrockFluidVeinSaveData.java
@@ -34,6 +34,9 @@ public void readFromNBT(NBTTagCompound nbt) {
34
35
if (nbt.hasKey("version")) {
36
BedrockFluidVeinHandler.saveDataVersion = nbt.getInteger("version");
37
+ } else if (veinList.isEmpty()) {
38
+ // there are no veins, so there is no data to be changed or lost by bumping the version
39
+ BedrockFluidVeinHandler.saveDataVersion = BedrockFluidVeinHandler.MAX_FLUID_SAVE_DATA_VERSION;
40
} else {
41
// version number was added to the save data with version 2
42
BedrockFluidVeinHandler.saveDataVersion = 1;
0 commit comments