Skip to content
This repository has been archived by the owner on Apr 28, 2020. It is now read-only.

Commit

Permalink
Fix overworld being replaced with nether, fix #10
Browse files Browse the repository at this point in the history
  • Loading branch information
Runemoro committed Aug 5, 2018
1 parent 88e6338 commit d15ca3f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ processResources {
}

jar {
finalizedBy reobfJar
manifest.attributes(
'Main-Class': 'org.dimdev.rift.Installer'
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,8 @@ public void loadAllWorlds(String saveName, String worldName, long seed, WorldTyp

List<WorldServer> worldList = new ArrayList<>();
worldList.add(overworld);
dimensionIdToWorldIndex.put(0, worldList.size());
dimensionTypeToWorldIndex.put(DimensionType.OVERWORLD, worldList.size());
dimensionIdToWorldIndex.put(0, 0);
dimensionTypeToWorldIndex.put(DimensionType.OVERWORLD, 0);

// Create other worlds
List<DimensionType> dimensionTypes;
Expand Down

0 comments on commit d15ca3f

Please sign in to comment.