mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-02-12 04:20:41 +00:00
parent
ad65e66a7c
commit
9c51f6e177
1 changed files with 1 additions and 1 deletions
|
@ -334,7 +334,7 @@ public class EssentialsSign
|
|||
protected final Double getDoublePositive(final String line) throws SignException
|
||||
{
|
||||
final double quantity = getDouble(line);
|
||||
if (quantity <= 0.0)
|
||||
if (Math.round(quantity*100.0) < 1.0)
|
||||
{
|
||||
throw new SignException(Util.i18n("moreThanZero"));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue