Fixed MaxPrice

This commit is contained in:
Acrobot 2012-04-19 16:36:01 +02:00
parent 7a3078aedc
commit a71b56e1f7
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ public class MaxPrice {
}
public static double getPrice(Price price, int itemID) {
String node = "max-" + price + "-price" + (itemID > 0 ? '-' + itemID : "");
String node = "max-" + price + "-price" + (itemID > 0 ? "-" + itemID : "");
return Config.exists(node) ? Config.getDouble(node) : Double.MAX_VALUE;
}