From d768651c9fb980cc6a399b22503aa40e7ac1df21 Mon Sep 17 00:00:00 2001 From: Jordan Irwin Date: Mon, 6 May 2024 06:09:41 -0700 Subject: [PATCH] Show House Buying in open quests during owed taxes period https://github.com/arianne/stendhal/issues/716 --- .../stendhal/server/maps/quests/houses/HouseBuyingMain.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/games/stendhal/server/maps/quests/houses/HouseBuyingMain.java b/src/games/stendhal/server/maps/quests/houses/HouseBuyingMain.java index 91993674327..0013b7fcfa7 100644 --- a/src/games/stendhal/server/maps/quests/houses/HouseBuyingMain.java +++ b/src/games/stendhal/server/maps/quests/houses/HouseBuyingMain.java @@ -119,7 +119,8 @@ public void addToWorld() { } public boolean isCompleted(final Player player) { - return HouseUtilities.getPlayersHouse(player)!=null; + return HouseUtilities.getPlayersHouse(player) != null + && houseTax.getUnpaidTaxPeriods(player) == 0; } /**