mirror of
https://github.com/EngineHub/WorldGuard.git
synced 2024-12-24 18:19:03 +01:00
fixed npe in creature spawn event listener
This commit is contained in:
parent
0a45292587
commit
d960d543ff
@ -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() + " ";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user