Skip to content

Commit

Permalink
write food amount to packets (fixes #96)
Browse files Browse the repository at this point in the history
  • Loading branch information
UpcraftLP committed May 14, 2024
1 parent 0a28f24 commit 0daea1b
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ public void encode(FriendlyByteBuf buf) {
buf.writeFloat(maxSlowedMultiplier());
buf.writeBoolean(armorSlows());
buf.writeBoolean(canLoopDeLoop());
buf.writeFloat(requiredFoodAmount());
}

public static void send(ServerPlayer player) {
Expand Down

0 comments on commit 0daea1b

Please sign in to comment.