More compile error fixes

This commit is contained in:
Spottedleaf
2019-05-05 17:57:14 -07:00
parent fad9f189b6
commit 52cd8744e0
16 changed files with 116 additions and 48 deletions

View File

@@ -56,7 +56,7 @@ index afa03ce6f2..d49047abc1 100644
}
// Spigot End
diff --git a/src/main/java/net/minecraft/server/PathfinderGoalFloat.java b/src/main/java/net/minecraft/server/PathfinderGoalFloat.java
index 040a64471f..2dfa5a7b40 100644
index 040a64471f..a10532b0f8 100644
--- a/src/main/java/net/minecraft/server/PathfinderGoalFloat.java
+++ b/src/main/java/net/minecraft/server/PathfinderGoalFloat.java
@@ -0,0 +0,0 @@ public class PathfinderGoalFloat extends PathfinderGoal {
@@ -67,6 +67,11 @@ index 040a64471f..2dfa5a7b40 100644
this.a(EnumSet.of(PathfinderGoal.Type.JUMP));
entityinsentient.getNavigation().d(true);
}
+ public final boolean validConditions() { return this.a(); } // Paper - OBFHELPER
@Override
public boolean a() {
double d0 = (double) this.a.getHeadHeight() < 0.4D ? 0.2D : 0.4D;
@@ -0,0 +0,0 @@ public class PathfinderGoalFloat extends PathfinderGoal {
return this.a.isInWater() && this.a.ce() > d0 || this.a.aC();
}