Split util classes.

This commit is contained in:
KHobbits 2013-06-08 22:31:19 +01:00
parent 98e427e831
commit 09f67c9723
103 changed files with 1245 additions and 1071 deletions

View file

@ -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"));
}