Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Camotoy committed May 26, 2024
1 parent d5fdbeb commit 5f7a31a
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,10 @@ public void setWidth(FloatEntityMetadata width) {
}

public void setHeight(FloatEntityMetadata height) {
setBoundingBoxHeight(height.getPrimitiveValue());
// Bedrock does *not* like high values being placed here
// https://gist.github.com/Owen1212055/f5d59169d3a6a5c32f0c173d57eb199d recommend(s/ed) using the tactic
// https://github.com/GeyserMC/Geyser/issues/4688
setBoundingBoxHeight(Math.min(height.getPrimitiveValue(), 64f));
}

public void setResponse(BooleanEntityMetadata response) {
Expand Down

0 comments on commit 5f7a31a

Please sign in to comment.