diff --git a/src/engine/objects/Warehouse.java b/src/engine/objects/Warehouse.java index d4216d5d..1195fcd9 100644 --- a/src/engine/objects/Warehouse.java +++ b/src/engine/objects/Warehouse.java @@ -1336,7 +1336,7 @@ public class Warehouse extends AbstractWorldObject { } public static int getCostForResource(int id){ - int newCost = 0; + int newCost = 1; switch(id){ case 1580000://stone newCost = 3000; @@ -1413,6 +1413,6 @@ public class Warehouse extends AbstractWorldObject { if(id == 1705032) return 10; - return (int)(3000000 / (getCostForResource(id))); + return (int)(3000000 / getCostForResource(id)); } }