mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 19:28:01 +00:00
- Fixed loading all-prices.txt with empty lines.
This commit is contained in:
@@ -79,7 +79,7 @@ public class ReadPriceList {
|
|||||||
final List<String> lines = FileUtil.readFile(file);
|
final List<String> lines = FileUtil.readFile(file);
|
||||||
for (final String line : lines) {
|
for (final String line : lines) {
|
||||||
if (line.trim().isEmpty()) {
|
if (line.trim().isEmpty()) {
|
||||||
break;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (line.startsWith(ReadPriceList.COMMENT)) {
|
if (line.startsWith(ReadPriceList.COMMENT)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user