diff --git a/CHANGELOG.md b/CHANGELOG.md index 9d79c06..216aa7f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,4 +13,8 @@ - Water bottle tooltips added, gives 2 hydration - Deep dark is cold - Sprinting & swimming gives metabolism progress -- Other minor bug fixes \ No newline at end of file +- Other minor bug fixes + +### [1.1.2] (Minecraft 1.20.1) + +- Fixes crash on dedecated server ([#1](https://github.com/lilypuree/Metabolism/issues/1)) \ No newline at end of file diff --git a/gradle.properties b/gradle.properties index 64bef91..4d5c6f2 100644 --- a/gradle.properties +++ b/gradle.properties @@ -17,7 +17,7 @@ mapping_version=2023.09.03-1.20.1 mod_id=metabolism mod_name=Metabolism mod_license=MIT -mod_version=1.20.1-1.1.1 +mod_version=1.20.1-1.1.2 mod_group_id=lilypuree.metabolism mod_authors=Lilypuree mod_description=a temperature & hunger overhaul mod \ No newline at end of file diff --git a/src/main/java/lilypuree/metabolism/client/ClientHandler.java b/src/main/java/lilypuree/metabolism/client/ClientHandler.java index 6fa29b9..08d3979 100644 --- a/src/main/java/lilypuree/metabolism/client/ClientHandler.java +++ b/src/main/java/lilypuree/metabolism/client/ClientHandler.java @@ -1,11 +1,11 @@ package lilypuree.metabolism.client; +import lilypuree.metabolism.metabolism.FoodDataDuck; import lilypuree.metabolism.metabolism.Metabolism; import lilypuree.metabolism.network.ClientSyncMessage; import lilypuree.metabolism.network.ProgressSyncMessage; import net.minecraft.client.Minecraft; -import net.minecraft.world.entity.player.Player; import net.minecraftforge.network.NetworkEvent; import java.util.function.Supplier; @@ -29,6 +29,6 @@ public static void handleSyncProgress(ProgressSyncMessage msg, Supplier