Skip to content

Commit

Permalink
1.20.4
Browse files Browse the repository at this point in the history
  • Loading branch information
gliscowo committed Jan 5, 2024
1 parent d2b3b8d commit 833fab8
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ repositories {
maven { url = "https://maven.terraformersmc.com/" }
maven { url = "https://maven.ladysnake.org/releases" }
maven { url 'https://oss.sonatype.org/content/repositories/snapshots' }
maven { url "https://maven.wispforest.io/" }
maven { url "https://maven.wispforest.io/releases" }
}

dependencies {
Expand Down
14 changes: 7 additions & 7 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@
org.gradle.jvmargs=-Xmx1G
# Fabric Properties
# check these on https://fabricmc.net/develop
minecraft_base_version=1.20.2
minecraft_version=1.20.2
yarn_mappings=1.20.2+build.2
loader_version=0.14.22
minecraft_base_version=1.20.3
minecraft_version=1.20.4
yarn_mappings=1.20.4+build.3
loader_version=0.15.3
# Mod Properties
mod_version=0.3.2
maven_group=com.glisco
archives_base_name=deathlog
# Dependencies
fabric_version=0.89.3+1.20.2
fabric_version=0.92.0+1.20.4

# https://github.com/emilyploszaj/trinkets/releases
trinkets_version=3.8.0
Expand All @@ -20,8 +20,8 @@ trinkets_version=3.8.0
cca_version=5.4.0

# https://maven.terraformersmc.com/releases/com/terraformersmc/modmenu
modmenu_version=8.0.0
modmenu_version=9.0.0

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

4 changes: 2 additions & 2 deletions src/main/java/com/glisco/deathlog/mixin/TitleScreenMixin.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ private void onFirstRender(DrawContext context, int mouseX, int mouseY, float de

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

}
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ protected CompletableFuture<List<DeathInfo>> load(File file) {

if (file.exists()) {
try {
deathNbt = NbtIo.read(file);
deathNbt = NbtIo.read(file.toPath());

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

try {
NbtIo.write(deathNbt, file);
NbtIo.write(deathNbt, file.toPath());
} catch (IOException e) {
e.printStackTrace();
LOGGER.error("Failed to save DeathLog database");
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"depends": {
"fabricloader": "*",
"fabric": "*",
"minecraft": ">=1.19.3",
"minecraft": ">=1.20.3",
"owo-lib": ">=0.9.3"
},
"suggests": {
Expand Down

0 comments on commit 833fab8

Please sign in to comment.