mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-06-26 01:00:25 +00:00
Allow for specifying amount to increase itemstack in /more (#3302)
Fixes #2342.
This commit is contained in:
parent
76e511a774
commit
1a6ad2fdb0
4 changed files with 37 additions and 10 deletions
|
@ -105,4 +105,11 @@ public class NumberUtil {
|
|||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
public static boolean isPositiveInt(final String sInt) {
|
||||
if (!isInt(sInt)) {
|
||||
return false;
|
||||
}
|
||||
return Integer.parseInt(sInt) > 0;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue