From c21aeaf79b00b68e99dea29b99ff34c29731f5c2 Mon Sep 17 00:00:00 2001 From: SquishyPandaDev <55671441+SquishyPandaDev@users.noreply.github.com> Date: Sat, 14 Dec 2024 09:44:31 -0500 Subject: [PATCH] Fix logic error in SlaveJob Fix the player being unable to assign the maximum number of slaves to certain jobs. --- .../lilithsthrone/game/occupantManagement/slave/SlaveJob.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/com/lilithsthrone/game/occupantManagement/slave/SlaveJob.java b/src/com/lilithsthrone/game/occupantManagement/slave/SlaveJob.java index d77d9054c..8ca77c7bd 100644 --- a/src/com/lilithsthrone/game/occupantManagement/slave/SlaveJob.java +++ b/src/com/lilithsthrone/game/occupantManagement/slave/SlaveJob.java @@ -595,7 +595,7 @@ public float getAffectionGain(GameCharacter slave) { public boolean isAvailable(int hour, GameCharacter character) { return !character.getHomeLocationPlace().getPlaceType().equals(PlaceType.SLAVER_ALLEY_SLAVERY_ADMINISTRATION) && !character.getHomeWorldLocation().equals(WorldType.getWorldTypeFromId("innoxia_dominion_sex_shop")) - && Main.game.getOccupancyUtil().getCharactersWorkingJob(hour, SlaveJob.MILKING)