Skip to content

Commit

Permalink
Fixed issue where graves unlocked themselves when closing and reopeni…
Browse files Browse the repository at this point in the history
…ng a world
  • Loading branch information
B1n-ry committed Nov 9, 2023
1 parent d740c0f commit aaffcfd
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 5 deletions.
12 changes: 11 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,21 @@
# You're in Grave Danger 2.0.0-beta.3

### Changes
* Added config to drop contents of deleted graves, when deleted due to the max grave
count reached.

### Fixes
* Graves will no longer unlock when closing and reopening the game

---

# You're in Grave Danger 2.0.0-beta.2
Small update to fix an issue with iris

### Fixes
* Using iris, graves used to render completely white when glowing grave render config
was enabled. It should now appear normally with just a white glowing outline


---

# You're in Grave Danger 2.0.0-beta.1
Expand Down
8 changes: 4 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,11 @@ dependencies {
modCompileOnly "curse.maven:levelz-${project.levelz_version}"

// Dev dependencies
modImplementation "dev.onyxstudios.cardinal-components-api:cardinal-components-base:${project.cardinal_components_version}"
modImplementation "dev.onyxstudios.cardinal-components-api:cardinal-components-entity:${project.cardinal_components_version}"
modImplementation "curse.maven:libz-${project.libz_version}"
modImplementation "net.fabricmc:fabric-language-kotlin:${project.fabric_kotlin_version}"
modImplementation "io.wispforest:owo-lib:${project.owo_version}"
modCompileOnly "dev.onyxstudios.cardinal-components-api:cardinal-components-base:${project.cardinal_components_version}"
modCompileOnly "dev.onyxstudios.cardinal-components-api:cardinal-components-entity:${project.cardinal_components_version}"
modCompileOnly "curse.maven:libz-${project.libz_version}"
modCompileOnly "io.wispforest:owo-lib:${project.owo_version}"
}

processResources {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -512,6 +512,7 @@ public NbtCompound toNbt() {
nbt.put("deathMessage", this.deathMessage.toNbt());
nbt.putUuid("graveId", this.graveId);
nbt.putString("status", this.status.toString());
nbt.putBoolean("locked", this.locked);
nbt.put("creationTime", this.creationTime.toNbt());
if (this.killerId != null) nbt.putUuid("killerId", this.killerId);

Expand Down

0 comments on commit aaffcfd

Please sign in to comment.