mirror of
https://github.com/DRE2N/DungeonsXL.git
synced 2025-01-20 23:21:25 +01:00
Fix #35
This commit is contained in:
parent
8aedb982fb
commit
83aaedcc95
@ -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++) {
|
||||
|
Loading…
Reference in New Issue
Block a user