13
0
geforkt von Mirrors/Paper

Added Creature.getTarget

By: Dinnerbone <dinnerbone@dinnerbone.com>
Dieser Commit ist enthalten in:
CraftBukkit/Spigot 2011-02-09 13:44:46 +00:00
Ursprung 64354406fc
Commit 3b73bf1447

Datei anzeigen

@ -24,6 +24,14 @@ public class CraftCreature extends CraftLivingEntity implements Creature{
}
}
public CraftLivingEntity getTarget() {
if (entity.d == null) {
return null;
} else {
return (CraftLivingEntity)entity.d.getBukkitEntity();
}
}
@Override
public EntityCreature getHandle() {
return entity;