mirror of
https://github.com/EssentialsX/Essentials.git
synced 2025-01-06 11:24:39 +08: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
@ -23,7 +23,7 @@ public class Commandsetworth extends EssentialsCommand
|
||||
return;
|
||||
}
|
||||
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.sendMessage("§7Worth value set");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user