Fixed #3173
This commit is contained in:
@@ -208,8 +208,7 @@ public class SectorInfo{
|
|||||||
}
|
}
|
||||||
|
|
||||||
//get item delta
|
//get item delta
|
||||||
//TODO is preventing negative production a good idea?
|
int delta = coreItemCounts[item.id];
|
||||||
int delta = Math.max(ent == null ? 0 : coreItemCounts[item.id], 0);
|
|
||||||
|
|
||||||
//store means
|
//store means
|
||||||
stat.means.add(delta);
|
stat.means.add(delta);
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
org.gradle.daemon=true
|
org.gradle.daemon=true
|
||||||
org.gradle.jvmargs=-Xms256m -Xmx1024m
|
org.gradle.jvmargs=-Xms256m -Xmx1024m
|
||||||
archash=c489db42c3beae10116bd3baae6d21b1a70955ea
|
archash=ddc3e52e7c4f534a22f4f69be22a7c32a9589784
|
||||||
|
|||||||
Reference in New Issue
Block a user