This commit is contained in:
fullwall 2013-07-20 16:22:46 +08:00
parent d030909524
commit e75227d0cd
2 changed files with 1 additions and 2 deletions

View File

@ -78,7 +78,7 @@ public class CitizensNPC extends AbstractNPC {
@Override
public LivingEntity getBukkitEntity() {
return entityController.getBukkitEntity();
return entityController == null ? null : entityController.getBukkitEntity();
}
@Override

View File

@ -29,7 +29,6 @@ public class HorseController extends MobEntityController {
public static class EntityHorseNPC extends EntityHorse implements NPCHolder {
private int jumpTicks;
private final CitizensNPC npc;
public EntityHorseNPC(World world) {