mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 19:41:51 +00:00
fix: no blocks data conversion if no data loss detected
This commit is contained in:
parent
bc05716772
commit
024dccb135
6 changed files with 17 additions and 1 deletions
|
|
@ -128,6 +128,8 @@ public:
|
|||
std::vector<ContentIssue> issues;
|
||||
std::vector<std::string> dataLoss;
|
||||
|
||||
bool dataLayoutsUpdated = false;
|
||||
|
||||
ContentReport(
|
||||
const ContentIndices* indices,
|
||||
size_t blocks,
|
||||
|
|
@ -144,6 +146,9 @@ public:
|
|||
inline const std::vector<std::string>& getDataLoss() const {
|
||||
return dataLoss;
|
||||
}
|
||||
inline bool hasUpdatedLayouts() {
|
||||
return dataLayoutsUpdated;
|
||||
}
|
||||
|
||||
inline bool hasContentReorder() const {
|
||||
return blocks.hasContentReorder() || items.hasContentReorder();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue