mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-07-03 20:41:37 +00:00
Several bug fixes and cleanup.
Found using PMD and FindBugs. git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1553 e251c2fe-e539-e718-e476-b85c1f46cddb
This commit is contained in:
parent
2a614e53a7
commit
117d938ac5
74 changed files with 645 additions and 354 deletions
|
@ -89,9 +89,9 @@ public class Commandsell extends EssentialsCommand
|
|||
amount = -amount;
|
||||
}
|
||||
}
|
||||
double worth = Essentials.getWorth().getPrice(is);
|
||||
double worth = ess.getWorth().getPrice(is);
|
||||
boolean stack = args.length > 1 && args[1].endsWith("s");
|
||||
boolean requireStack = ess.getConfiguration().getBoolean("trade-in-stacks-" + id, false);
|
||||
boolean requireStack = ess.getSettings().isTradeInStacks(id);
|
||||
|
||||
if (Double.isNaN(worth))
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue