Update to Minecraft 1.11

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot
2016-11-17 12:41:03 +11:00
parent 49bc1c57f9
commit 4e412ab4e3
279 changed files with 3722 additions and 2992 deletions

View File

@@ -3,7 +3,7 @@
@@ -35,7 +35,7 @@
}
public boolean apply(Object object) {
public boolean apply(@Nullable Object object) {
- return this.a((EntityLiving) object);
+ return this.a((T) object); // CraftBukkit - fix decompile error
}
@@ -23,12 +23,12 @@
@Nullable
public Double a(@Nullable EntityHuman entityhuman) {
ItemStack itemstack = entityhuman.getEquipment(EnumItemSlot.HEAD);
@@ -73,10 +73,10 @@
return Double.valueOf(1.0D);
@@ -74,10 +74,10 @@
}
- public Object apply(Object object) {
+ public Double apply(EntityHuman object) { // CraftBukkit - fix decompile error
@Nullable
- public Object apply(@Nullable Object object) {
+ public Double apply(@Nullable EntityHuman object) { // CraftBukkit - fix decompile error
return this.a((EntityHuman) object);
}
- }, this.c);
@@ -36,7 +36,7 @@
return this.d != null;
}
}
@@ -86,7 +86,7 @@
@@ -87,7 +87,7 @@
}
public void c() {
@@ -45,7 +45,7 @@
super.c();
}
@@ -105,7 +105,7 @@
@@ -106,7 +106,7 @@
return d0 < d1 ? -1 : (d0 > d1 ? 1 : 0);
}