mirror of
https://github.com/essentials/Essentials.git
synced 2025-08-15 11:04:29 +02:00
@@ -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"));
|
||||
}
|
||||
|
Reference in New Issue
Block a user