@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user