Skip to content

Commit

Permalink
Properly commit last commit's changes
Browse files Browse the repository at this point in the history
Update fabric.mod.json with version requirements
  • Loading branch information
TheMrEngMan committed Sep 27, 2023
1 parent dd4673d commit f41b989
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public class PetOwnerClient implements ClientModInitializer {
playerProfile = Objects.requireNonNull(MinecraftClient.getInstance().getSessionService().fetchProfile(key, false)).profile();
usernameCache.put(key, Optional.ofNullable(playerProfile.getName()));
} catch (NullPointerException e) {
usernameCache.put(key, Optional.of("Invalid UUID!"));
usernameCache.put(key, Optional.empty());
}
});

Expand Down
7 changes: 2 additions & 5 deletions src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,11 @@
]
},
"depends": {
"midnightlib": ">=1.1.0",
"midnightlib": ">=1.5.0",
"fabric-api-base": "*",
"fabric-key-binding-api-v1": "*",
"fabric-lifecycle-events-v1": "*",
"fabric-rendering-v1": "*",
"fabric-models-v0": "*",
"fabric-resource-loader-v0": "*",
"minecraft":">=1.19.4"
"minecraft":">=1.20.2"
},
"mixins": [
"petowner.mixins.json"
Expand Down

0 comments on commit f41b989

Please sign in to comment.