mirror of
https://github.com/ChestShop-authors/ChestShop-3.git
synced 2024-11-23 18:45:31 +01:00
Fixed FREE shops
This commit is contained in:
parent
c63ba4c9a4
commit
ec5092900b
@ -31,7 +31,13 @@ public class PriceUtil {
|
||||
}
|
||||
|
||||
if (NumberUtil.isDouble(part)) {
|
||||
return Double.valueOf(part);
|
||||
double price = Double.valueOf(part);
|
||||
|
||||
if (price == 0) {
|
||||
return NO_PRICE;
|
||||
} else {
|
||||
return price;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user