fixed npe in creature spawn event listener

This commit is contained in:
Redecouverte 2011-02-25 17:44:03 +01:00
parent 0a45292587
commit d960d543ff

View File

@ -205,6 +205,7 @@ private void loadConfiguration() {
buyOnClaim = config.getBoolean("iconomy.buy-on-claim", false);
buyOnClaimPrice = config.getInt("iconomy.buy-on-claim-price", 1);
blockCreatureSpawn = "";
for (String creature : config.getStringList("mobs.block-creature-spawn", null)) {
blockCreatureSpawn += creature.toLowerCase() + " ";
}