mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-11-09 12:30:42 +01:00
cleanup
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1592 e251c2fe-e539-e718-e476-b85c1f46cddb
This commit is contained in:
parent
710088fb13
commit
6c862e72b5
@ -422,9 +422,9 @@ public class Settings implements IConf
|
|||||||
config.load();
|
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(",")) {
|
for (String itemName : config.getString("item-spawn-blacklist", "").split(",")) {
|
||||||
itemName = itemName.trim();
|
itemName = itemName.trim();
|
||||||
if (itemName.isEmpty()) {
|
if (itemName.isEmpty()) {
|
||||||
@ -441,9 +441,9 @@ public class Settings implements IConf
|
|||||||
return epItemSpwn;
|
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(",")) {
|
for (String itemName : config.getString("protect.blacklist.break", "").split(",")) {
|
||||||
itemName = itemName.trim();
|
itemName = itemName.trim();
|
||||||
if (itemName.isEmpty()) {
|
if (itemName.isEmpty()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user