public void setCurrentLocation(ProgramLocation location) {
		if (SystemUtilities.isEqual(currentLocation, location)) {
			return;
		}
		this.currentLocation = location;
		if (isGlobalState && tool != null) {
			PluginEvent ev = new ProgramLocationPluginEvent(null, location, currentProgram);
			tool.firePluginEvent(ev);
		}
	}
If it differs, set the current location and fire a {@link ProgramLocationPluginEvent}.

@param location the location
Ghidra/Features/Base/src/main/java/ghidra/app/script/GhidraState.java