This commit is contained in:
Daniel Saukel 2016-04-06 22:59:13 +02:00
parent 8aedb982fb
commit 83aaedcc95

View File

@ -16,6 +16,7 @@
*/
package io.github.dre2n.dungeonsxl.sign;
import io.github.dre2n.commons.util.NumberUtil;
import io.github.dre2n.dungeonsxl.game.GameChest;
import io.github.dre2n.dungeonsxl.game.GameWorld;
import org.bukkit.Material;
@ -44,7 +45,7 @@ public class ChestSign extends DSign {
public void onInit() {
String lines[] = getSign().getLines();
if (!lines[1].isEmpty()) {
moneyReward = Double.parseDouble(lines[1]);
moneyReward = NumberUtil.parseDouble(lines[1]);
}
for (int i = -1; i <= 1; i++) {