@Override
public boolean update(boolean force, boolean applyPhysics) {
boolean result = super.update(force, applyPhysics);
if (result) {
TESkull skull = getTileEntity();
skull.setType(BlockSkull.getType(type));
if (BlockSkull.canRotate((org.bukkit.material.Skull) (getBlock().getState().getData()))) {
skull.setRotation(Position.getDirection(rotation));
}
if (type == SkullType.PLAYER) {
skull.setOwner(owner);
}
getTileEntity().updateInRange();
}
return result;
}