mirror of
https://github.com/EngineHub/WorldGuard.git
synced 2024-11-24 03:25:24 +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