From 666e3d54790b3706c196aa96abf2a9d05145226a Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Mon, 19 Feb 2024 17:02:42 -0600 Subject: [PATCH] boons become nation friendly --- src/engine/net/client/handlers/MerchantMsgHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/net/client/handlers/MerchantMsgHandler.java b/src/engine/net/client/handlers/MerchantMsgHandler.java index 94490a72..0adbace4 100644 --- a/src/engine/net/client/handlers/MerchantMsgHandler.java +++ b/src/engine/net/client/handlers/MerchantMsgHandler.java @@ -147,7 +147,7 @@ public class MerchantMsgHandler extends AbstractClientMsgHandler { Building shrineBuilding; Shrine shrine; - if (npc.getGuild() != player.getGuild()) + if (npc.getGuild().getNation() != player.getGuild().getNation()) return; shrineBuilding = npc.getBuilding();