Pull methods up

This commit is contained in:
fullwall 2012-11-29 13:59:33 +08:00
parent d4dad1b05d
commit 9878500f18

View File

@ -49,11 +49,6 @@ public abstract class CitizensNPC extends AbstractNPC {
protected abstract EntityLiving createHandle(Location loc);
@Override
public boolean despawn() {
return despawn(DespawnReason.PLUGIN);
}
@Override
public boolean despawn(DespawnReason reason) {
if (!isSpawned())
@ -95,11 +90,6 @@ public abstract class CitizensNPC extends AbstractNPC {
return navigator;
}
@Override
public Trait getTraitFor(Class<? extends Trait> clazz) {
return CitizensAPI.getTraitFactory().getTrait(clazz);
}
@Override
public boolean isSpawned() {
return mcEntity != null;