Skip to content

Commit 833fab8

Browse files
committed
1.20.4
1 parent d2b3b8d commit 833fab8

File tree

5 files changed

+13
-13
lines changed

5 files changed

+13
-13
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ repositories {
1111
maven { url = "https://maven.terraformersmc.com/" }
1212
maven { url = "https://maven.ladysnake.org/releases" }
1313
maven { url 'https://oss.sonatype.org/content/repositories/snapshots' }
14-
maven { url "https://maven.wispforest.io/" }
14+
maven { url "https://maven.wispforest.io/releases" }
1515
}
1616

1717
dependencies {

gradle.properties

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@
22
org.gradle.jvmargs=-Xmx1G
33
# Fabric Properties
44
# check these on https://fabricmc.net/develop
5-
minecraft_base_version=1.20.2
6-
minecraft_version=1.20.2
7-
yarn_mappings=1.20.2+build.2
8-
loader_version=0.14.22
5+
minecraft_base_version=1.20.3
6+
minecraft_version=1.20.4
7+
yarn_mappings=1.20.4+build.3
8+
loader_version=0.15.3
99
# Mod Properties
1010
mod_version=0.3.2
1111
maven_group=com.glisco
1212
archives_base_name=deathlog
1313
# Dependencies
14-
fabric_version=0.89.3+1.20.2
14+
fabric_version=0.92.0+1.20.4
1515

1616
# https://github.com/emilyploszaj/trinkets/releases
1717
trinkets_version=3.8.0
@@ -20,8 +20,8 @@ trinkets_version=3.8.0
2020
cca_version=5.4.0
2121

2222
# https://maven.terraformersmc.com/releases/com/terraformersmc/modmenu
23-
modmenu_version=8.0.0
23+
modmenu_version=9.0.0
2424

2525
# https://maven.wispforest.io/io/wispforest/owo-lib/
26-
owo_version=0.11.3+1.20.2
26+
owo_version=0.12.0+1.20.3
2727

src/main/java/com/glisco/deathlog/mixin/TitleScreenMixin.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ private void onFirstRender(DrawContext context, int mouseX, int mouseY, float de
2727

2828
final var storage = DeathLogClient.getClientStorage();
2929
if (!storage.isErrored()) return;
30-
MinecraftClient.getInstance().getToastManager().add(new DeathLogToast(SystemToast.Type.TUTORIAL_HINT, Text.of("DeathLog Database Error"), Text.of(storage.getErrorCondition())));
31-
MinecraftClient.getInstance().getToastManager().add(new DeathLogToast(SystemToast.Type.TUTORIAL_HINT, Text.of("DeathLog Problem"), Text.of("Check your log for details")));
30+
MinecraftClient.getInstance().getToastManager().add(new DeathLogToast(SystemToast.Type.PACK_LOAD_FAILURE, Text.of("DeathLog Database Error"), Text.of(storage.getErrorCondition())));
31+
MinecraftClient.getInstance().getToastManager().add(new DeathLogToast(SystemToast.Type.PACK_LOAD_FAILURE, Text.of("DeathLog Problem"), Text.of("Check your log for details")));
3232
}
3333

3434
}

src/main/java/com/glisco/deathlog/storage/BaseDeathLogStorage.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ protected CompletableFuture<List<DeathInfo>> load(File file) {
3737

3838
if (file.exists()) {
3939
try {
40-
deathNbt = NbtIo.read(file);
40+
deathNbt = NbtIo.read(file.toPath());
4141

4242
if (deathNbt.getInt("FormatRevision") != FORMAT_REVISION) {
4343
raiseError("Incompatible format");
@@ -89,7 +89,7 @@ protected void save(File file, List<DeathInfo> listIn) {
8989
deathNbt.putInt("FormatRevision", FORMAT_REVISION);
9090

9191
try {
92-
NbtIo.write(deathNbt, file);
92+
NbtIo.write(deathNbt, file.toPath());
9393
} catch (IOException e) {
9494
e.printStackTrace();
9595
LOGGER.error("Failed to save DeathLog database");

src/main/resources/fabric.mod.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"depends": {
3333
"fabricloader": "*",
3434
"fabric": "*",
35-
"minecraft": ">=1.19.3",
35+
"minecraft": ">=1.20.3",
3636
"owo-lib": ">=0.9.3"
3737
},
3838
"suggests": {

0 commit comments

Comments
 (0)