mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-02-11 11:49:12 +00:00
[trunk] /setworth: support double
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1227 e251c2fe-e539-e718-e476-b85c1f46cddb
This commit is contained in:
parent
2571d31cb0
commit
aabf820910
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ public class Commandsetworth extends EssentialsCommand
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
ItemStack stack = ItemDb.get(args[0]);
|
ItemStack stack = ItemDb.get(args[0]);
|
||||||
Essentials.getWorth().setPrice(stack, Integer.parseInt(args[1]));
|
Essentials.getWorth().setPrice(stack, Double.parseDouble(args[1]));
|
||||||
user.charge(this);
|
user.charge(this);
|
||||||
user.sendMessage("§7Worth value set");
|
user.sendMessage("§7Worth value set");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue