Browse Source

condemn list options removed from ToL

lakebane-master
FatBoy-DOTC 7 months ago
parent
commit
f8cf531136
  1. 7
      src/engine/net/client/handlers/OpenFriendsCondemnListMsgHandler.java

7
src/engine/net/client/handlers/OpenFriendsCondemnListMsgHandler.java

@ -44,6 +44,13 @@ public class OpenFriendsCondemnListMsgHandler extends AbstractClientMsgHandler {
return true; return true;
msg = (OpenFriendsCondemnListMsg) baseMsg; msg = (OpenFriendsCondemnListMsg) baseMsg;
sourceBuilding = BuildingManager.getBuildingFromCache(msg.getBuildingID());
if(sourceBuilding != null && sourceBuilding.getBlueprint().getBuildingGroup().equals(Enum.BuildingGroup.TOL)){
return true;
}
openFriendsCondemnListMsg = new OpenFriendsCondemnListMsg(msg); openFriendsCondemnListMsg = new OpenFriendsCondemnListMsg(msg);
friendListType = Enum.FriendListType.getListTypeByID(msg.getMessageType()); friendListType = Enum.FriendListType.getListTypeByID(msg.getMessageType());

Loading…
Cancel
Save