From f8cf5311360fb7bede97b777ad3ad40c45cdc80c Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Fri, 5 Apr 2024 21:17:38 -0500 Subject: [PATCH] condemn list options removed from ToL --- .../client/handlers/OpenFriendsCondemnListMsgHandler.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/engine/net/client/handlers/OpenFriendsCondemnListMsgHandler.java b/src/engine/net/client/handlers/OpenFriendsCondemnListMsgHandler.java index ccb93609..6acff9b3 100644 --- a/src/engine/net/client/handlers/OpenFriendsCondemnListMsgHandler.java +++ b/src/engine/net/client/handlers/OpenFriendsCondemnListMsgHandler.java @@ -44,6 +44,13 @@ public class OpenFriendsCondemnListMsgHandler extends AbstractClientMsgHandler { return true; msg = (OpenFriendsCondemnListMsg) baseMsg; + + sourceBuilding = BuildingManager.getBuildingFromCache(msg.getBuildingID()); + + if(sourceBuilding != null && sourceBuilding.getBlueprint().getBuildingGroup().equals(Enum.BuildingGroup.TOL)){ + return true; + } + openFriendsCondemnListMsg = new OpenFriendsCondemnListMsg(msg); friendListType = Enum.FriendListType.getListTypeByID(msg.getMessageType());