public PlanArbeiten(JSONObject o, Object obj) throws FatalError {
		super("Arbeiten");

		if (isInt(obj)) {
			hours = (Integer) obj;
		} else {
			
			try {
				hours = o.getInt("Stunden");
				stop = o.getBoolean("Stopp");
			} catch (JSONException en) {
				configError();
			}
		}

		if (this.hours < 1) {
			Output.println("Config: Arbeiten is set to 1 hour.", 0);
			hours = 1;
		} else if (hours > 10) {
			Output.println("Config: Arbeiten is set to 10 hours.", 0);
			hours = 10;
		}
	}