Remove redundant null check in WorthConfig
The revised version of WorthConfig.java removes a redundant check for null material. This null check was duplicated due to a merge.
This commit is contained in:
@@ -85,10 +85,6 @@ public class WorthConfig extends AbstractConfig {
|
||||
Logger.warning("Invalid material % in trade worth", key);
|
||||
continue;
|
||||
}
|
||||
if (material == null) {
|
||||
Logger.warning("Invalid material % in trade worth", key);
|
||||
continue;
|
||||
}
|
||||
map.put(material, new Price(Utilities.round(worth.getDouble(key), 2), material));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user