mirror of
https://github.com/EssentialsX/Essentials.git
synced 2025-02-14 19:32:04 +01:00
Merge branch 'master' into release
This commit is contained in:
commit
e2abf05a27
@ -374,6 +374,10 @@ public class Settings implements ISettings
|
||||
private List<Integer> getItemSpawnBlacklist()
|
||||
{
|
||||
final List<Integer> epItemSpwn = new ArrayList<Integer>();
|
||||
if (ess.getItemDb() == null) {
|
||||
logger.log(Level.FINE, "Aborting ItemSpawnBL read, itemDB not yet loaded.");
|
||||
return epItemSpwn;
|
||||
}
|
||||
for (String itemName : config.getString("item-spawn-blacklist", "").split(","))
|
||||
{
|
||||
itemName = itemName.trim();
|
||||
|
Loading…
Reference in New Issue
Block a user