Fix migration chat message not appearing
This commit is contained in:
@@ -488,11 +488,11 @@ public class ClientApi
|
||||
|
||||
// data migration
|
||||
if (this.showMigrationMessageNextFrame
|
||||
&& this.migrationMessageShown
|
||||
&& !this.migrationMessageShown
|
||||
&& Config.Client.Advanced.LodBuilding.showMigrationChatWarning.get())
|
||||
{
|
||||
this.showMigrationMessageNextFrame = false;
|
||||
this.migrationMessageShown = false;
|
||||
this.migrationMessageShown = true;
|
||||
|
||||
MC.sendChatMessage("Old Distant Horizons data is being migrated.");
|
||||
MC.sendChatMessage("During migration LODs may load slowly and DH world gen is disabled.");
|
||||
|
||||
+1
-1
@@ -427,7 +427,7 @@ public class FullDataSourceProviderV2
|
||||
catch (Exception e)
|
||||
{
|
||||
DhSectionPos migrationPos = legacyDataSource.getPos();
|
||||
LOGGER.error("Unexpected issue migrating data source at pos " + migrationPos + ". Error: " + e.getMessage(), e);
|
||||
LOGGER.warn("Unexpected issue migrating data source at pos " + migrationPos + ". Error: " + e.getMessage(), e);
|
||||
this.legacyFileHandler.markMigrationFailed(migrationPos);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user