Removed console spam with duplicate fillers
(enable World Generation logging to see them now)
This commit is contained in:
parent
a5691c0ee0
commit
a665dbccc9
1 changed files with 6 additions and 2 deletions
|
@ -38,7 +38,9 @@ public class RandomCollection<E extends IStringSerializable> {
|
|||
return;
|
||||
}
|
||||
if (weightMap.containsValue(object)) {
|
||||
WarpDrive.logger.warn("Object already has a weight defined, skipping " + object + " with weight " + weight);
|
||||
if (WarpDriveConfig.LOGGING_WORLD_GENERATION) {
|
||||
WarpDrive.logger.trace("Object already has a weight defined, skipping " + object + " with weight " + weight);
|
||||
}
|
||||
return;
|
||||
}
|
||||
totalWeight += weight;
|
||||
|
@ -60,7 +62,9 @@ public class RandomCollection<E extends IStringSerializable> {
|
|||
return;
|
||||
}
|
||||
if (ratioMap.containsValue(object)) {
|
||||
WarpDrive.logger.warn("Object already has a ratio defined, skipping " + object + " with ratio " + ratio);
|
||||
if (WarpDriveConfig.LOGGING_WORLD_GENERATION) {
|
||||
WarpDrive.logger.warn("Object already has a ratio defined, skipping " + object + " with ratio " + ratio);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue