1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-15 11:04:29 +02:00
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1592 e251c2fe-e539-e718-e476-b85c1f46cddb
This commit is contained in:
snowleo
2011-06-06 12:04:37 +00:00
parent fcfef828a1
commit e70551e344

View File

@@ -422,9 +422,9 @@ public class Settings implements IConf
config.load();
}
public ArrayList itemSpawnBlacklist()
public List<Integer> itemSpawnBlacklist()
{
ArrayList epItemSpwn = new ArrayList();
final List<Integer> epItemSpwn = new ArrayList<Integer>();
for (String itemName : config.getString("item-spawn-blacklist", "").split(",")) {
itemName = itemName.trim();
if (itemName.isEmpty()) {
@@ -441,9 +441,9 @@ public class Settings implements IConf
return epItemSpwn;
}
public ArrayList<Integer> epBlockBreakingBlacklist()
public List<Integer> epBlockBreakingBlacklist()
{
ArrayList<Integer> epBreakList = new ArrayList<Integer>();
final List<Integer> epBreakList = new ArrayList<Integer>();
for (String itemName : config.getString("protect.blacklist.break", "").split(",")) {
itemName = itemName.trim();
if (itemName.isEmpty()) {