use latest Netty and Guava
This commit is contained in:
parent
7f32e87ef4
commit
3af1b1f5b6
463 changed files with 611 additions and 68249 deletions
|
@ -1,6 +1,6 @@
|
|||
package game.entity.animal;
|
||||
|
||||
import java.util.function.Predicate;
|
||||
import com.google.common.base.Predicate;
|
||||
|
||||
import game.ai.EntityAIAttackOnCollide;
|
||||
import game.ai.EntityAIBeg;
|
||||
|
@ -74,7 +74,7 @@ public class EntityWolf extends EntityTameable
|
|||
this.targets.addTask(3, new EntityAIHurtByTarget(this, true));
|
||||
this.targets.addTask(4, new EntityAITargetNonTamed(this, EntityAnimal.class, false, new Predicate<Entity>()
|
||||
{
|
||||
public boolean test(Entity p_apply_1_)
|
||||
public boolean apply(Entity p_apply_1_)
|
||||
{
|
||||
return p_apply_1_ instanceof EntitySheep || p_apply_1_ instanceof EntityRabbit;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue