mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-08-07 13:03:00 +00:00
Rewriting help, to use new classes.
This commit is contained in:
parent
a5853baf4c
commit
d59e2834d1
4 changed files with 179 additions and 202 deletions
|
@ -347,6 +347,19 @@ public class Util
|
|||
return Math.round(d * 100.0) / 100.0;
|
||||
}
|
||||
|
||||
public static boolean isInt(final String sInt)
|
||||
{
|
||||
try
|
||||
{
|
||||
Integer.parseInt(sInt);
|
||||
}
|
||||
catch (NumberFormatException e)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
public static String joinList(Object... list)
|
||||
{
|
||||
return joinList(", ", list);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue