mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-08-09 22:13:03 +00:00
Split util classes.
This commit is contained in:
parent
98e427e831
commit
09f67c9723
103 changed files with 1245 additions and 1071 deletions
|
@ -2,7 +2,8 @@ package com.earth2me.essentials.commands;
|
|||
|
||||
import static com.earth2me.essentials.I18n._;
|
||||
import com.earth2me.essentials.User;
|
||||
import com.earth2me.essentials.Util;
|
||||
import com.earth2me.essentials.utils.NumberUtil;
|
||||
import com.earth2me.essentials.utils.StringUtil;
|
||||
import java.util.Locale;
|
||||
import org.bukkit.Location;
|
||||
import org.bukkit.Server;
|
||||
|
@ -52,7 +53,7 @@ public class Commandsethome extends EssentialsCommand
|
|||
{
|
||||
name = "home";
|
||||
}
|
||||
if ("bed".equals(name) || Util.isInt(name))
|
||||
if ("bed".equals(name) || NumberUtil.isInt(name))
|
||||
{
|
||||
throw new NoSuchFieldException(_("invalidHomeName"));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue