This commit is contained in:
Anuken 2025-11-16 23:34:52 -05:00
parent 11542f8e17
commit e8fc33ca9e
3 changed files with 3 additions and 0 deletions

View file

@ -334,6 +334,7 @@ public abstract class SaveVersion extends SaveFileReader{
//set block only if this is the center; otherwise, it's handled elsewhere
if(isCenter){
tile.setBlock(block);
if(tile.build != null) tile.build.enabled = true;
}
//must be assigned after setBlock, because that can reset data

View file

@ -56,6 +56,7 @@ public abstract class LegacySaveVersion extends LegacyRegionSaveVersion{
//do not override occupied cells
if(!occupied){
tile.setBlock(block);
if(tile.build != null) tile.build.enabled = true;
}
if(block.hasBuilding()){

View file

@ -101,6 +101,7 @@ public class ShortChunkSaveVersion extends SaveVersion{
//set block only if this is the center; otherwise, it's handled elsewhere
if(isCenter){
tile.setBlock(block);
if(tile.build != null) tile.build.enabled = true;
}
//must be assigned after setBlock, because that can reset data