if (location != null &&
if (label != null &&
    public void renderName(Graphics g) {        boolean globalShowNames = false;        boolean forceGlobal = false;        if (handler != null) {            globalShowNames = handler.isShowNames();            forceGlobal = handler.isForceGlobal();        }        if (location != null &&            ((forceGlobal && globalShowNames) ||             (!forceGlobal && showName))) {//      if (showName && label != null) {            label.render(g);        }    }