---
src/net/sf/freecol/common/model/Colony.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/net/sf/freecol/common/model/Colony.java
b/src/net/sf/freecol/common/model/Colony.java
index 47dad7abbba..f2e9c3e99c1 100644
--- a/src/net/sf/freecol/common/model/Colony.java
+++ b/src/net/sf/freecol/common/model/Colony.java
@@ -715,7 +715,7 @@ public class Colony extends Settlement implements Nameable,
TradeLocation {
*/
public List<WorkLocation> getWorkLocationsForProducing(GoodsType
goodsType) {
return transform(getCurrentWorkLocations(),
- wl -> any(wl.getOutputs(), AbstractGoods.matches(goodsType)));
+ wl -> wl.produces(goodsType));
}
/**
--
2.11.0.rc0.7.gbe5a750
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Freecol-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freecol-developers