Fixed archipelago map / filters messing with block data
This commit is contained in:
Binary file not shown.
Binary file not shown.
|
Before Width: | Height: | Size: 188 KiB After Width: | Height: | Size: 189 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 190 KiB After Width: | Height: | Size: 190 KiB |
@@ -135,8 +135,12 @@ public class MapGenerateDialog extends BaseDialog{
|
|||||||
Tile tile = editor.tile(x, y);
|
Tile tile = editor.tile(x, y);
|
||||||
GenTile write = writeTiles[x][y];
|
GenTile write = writeTiles[x][y];
|
||||||
|
|
||||||
|
//don't mess up synthetic stuff.
|
||||||
|
if(!tile.synthetic() && !content.block(write.block).synthetic()){
|
||||||
|
tile.setBlock(content.block(write.block));
|
||||||
|
}
|
||||||
|
|
||||||
tile.setFloor((Floor)content.block(write.floor));
|
tile.setFloor((Floor)content.block(write.floor));
|
||||||
tile.setBlock(content.block(write.block));
|
|
||||||
tile.setTeam(Team.get(write.team));
|
tile.setTeam(Team.get(write.team));
|
||||||
tile.setOverlay(content.block(write.ore));
|
tile.setOverlay(content.block(write.ore));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user