Skip to content

Commit

Permalink
Merge pull request #123 from MikhailTapio/main
Browse files Browse the repository at this point in the history
Fixes MC-94054
  • Loading branch information
KorewaLidesu authored Apr 26, 2024
2 parents d51e9d1 + 64edf72 commit 7cc5b06
Showing 1 changed file with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
--- before/net/minecraft/pathfinding/PathNavigateClimber.java
+++ after/net/minecraft/pathfinding/PathNavigateClimber.java
@@ -57,7 +57,7 @@
{
if (this.field_179696_f != null)
{
- double d0 = (double)(this.field_75515_a.field_70130_N * this.field_75515_a.field_70130_N);
+ double d0 = Math.max((this.field_75515_a.field_70130_N * this.field_75515_a.field_70130_N), 1.0D);

if (!(this.field_75515_a.func_174831_c(this.field_179696_f) < d0)
&& (

0 comments on commit 7cc5b06

Please sign in to comment.