mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-18 13:53:49 -07:00
Update to Minecraft 1.13-pre7
This commit is contained in:
@@ -1,15 +1,6 @@
|
||||
--- a/net/minecraft/server/PathfinderGoalNearestAttackableTarget.java
|
||||
+++ b/net/minecraft/server/PathfinderGoalNearestAttackableTarget.java
|
||||
@@ -35,7 +35,7 @@
|
||||
}
|
||||
|
||||
public boolean apply(@Nullable Object object) {
|
||||
- return this.a((EntityLiving) object);
|
||||
+ return this.a((T) object); // CraftBukkit - fix decompile error
|
||||
}
|
||||
};
|
||||
}
|
||||
@@ -50,11 +50,11 @@
|
||||
@@ -44,11 +44,11 @@
|
||||
return false;
|
||||
} else {
|
||||
Collections.sort(list, this.b);
|
||||
@@ -23,7 +14,7 @@
|
||||
@Nullable
|
||||
public Double a(@Nullable EntityHuman entityhuman) {
|
||||
ItemStack itemstack = entityhuman.getEquipment(EnumItemSlot.HEAD);
|
||||
@@ -74,10 +74,10 @@
|
||||
@@ -57,10 +57,10 @@
|
||||
}
|
||||
|
||||
@Nullable
|
||||
@@ -36,7 +27,7 @@
|
||||
return this.d != null;
|
||||
}
|
||||
}
|
||||
@@ -87,7 +87,7 @@
|
||||
@@ -70,7 +70,7 @@
|
||||
}
|
||||
|
||||
public void c() {
|
||||
@@ -45,7 +36,7 @@
|
||||
super.c();
|
||||
}
|
||||
|
||||
@@ -106,7 +106,7 @@
|
||||
@@ -89,7 +89,7 @@
|
||||
return d0 < d1 ? -1 : (d0 > d1 ? 1 : 0);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user