mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2024-11-27 09:15:38 +00:00
Switched from Essentials' StringUtil to Apache Commons StringUtils.
This commit is contained in:
parent
75b296496e
commit
461cfa7bdc
@ -1,6 +1,5 @@
|
|||||||
package me.StevenLawson.TotalFreedomMod;
|
package me.StevenLawson.TotalFreedomMod;
|
||||||
|
|
||||||
import com.earth2me.essentials.utils.StringUtil;
|
|
||||||
import com.google.common.collect.ImmutableList;
|
import com.google.common.collect.ImmutableList;
|
||||||
import org.json.simple.JSONArray;
|
import org.json.simple.JSONArray;
|
||||||
import org.json.simple.JSONObject;
|
import org.json.simple.JSONObject;
|
||||||
@ -13,6 +12,8 @@ import java.net.URL;
|
|||||||
import java.util.*;
|
import java.util.*;
|
||||||
import java.util.concurrent.Callable;
|
import java.util.concurrent.Callable;
|
||||||
|
|
||||||
|
import net.minecraft.util.org.apache.commons.lang3.StringUtils;
|
||||||
|
|
||||||
// Credits to evilmidget38
|
// Credits to evilmidget38
|
||||||
public class TFM_UuidResolver implements Callable<Map<String, UUID>>
|
public class TFM_UuidResolver implements Callable<Map<String, UUID>>
|
||||||
{
|
{
|
||||||
@ -75,7 +76,7 @@ public class TFM_UuidResolver implements Callable<Map<String, UUID>>
|
|||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
TFM_Log.severe("Could not resolve UUID(s) of "
|
TFM_Log.severe("Could not resolve UUID(s) of "
|
||||||
+ StringUtil.joinList(", ", names.subList(i * 100, Math.min((i + 1) * 100, names.size()))));
|
+ StringUtils.join(names.subList(i * 100, Math.min((i + 1) * 100, names.size())), ", "));
|
||||||
TFM_Log.severe(ex);
|
TFM_Log.severe(ex);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user