Skip to content

Commit

Permalink
fix dirty
Browse files Browse the repository at this point in the history
  • Loading branch information
PinkGoosik committed Jun 17, 2024
1 parent 49ce2e1 commit 8478d1e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ org.gradle.jvmargs = -Xmx1G
org.gradle.parallel = true

# Mod Properties
mod_version = 0.1.3
mod_version = 0.1.4
maven_group = ru.pinkgoosik
archives_base_name = dimensional-revive

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@ public static VisitedDimensionsState fromNbt(NbtCompound nbt) {


public boolean wasVisited(RegistryKey<World> key) {
this.setDirty(true);
return visitedDimensions.contains(key.getValue().toString());
}

public void addDimension(RegistryKey<World> key) {
this.setDirty(true);
this.visitedDimensions.add(key.getValue().toString());
}
}

0 comments on commit 8478d1e

Please sign in to comment.