mirror of
https://github.com/Multiverse/Multiverse-Core.git
synced 2025-02-09 09:01:31 +01:00
Make syncMobs() public and Javadoc it
This commit is contained in:
parent
1af30dad1d
commit
b006a458db
@ -393,7 +393,12 @@ public class MVWorld implements MultiverseWorld {
|
||||
return false;
|
||||
}
|
||||
|
||||
private void syncMobs() {
|
||||
/**
|
||||
* Ensure that the value of the animals and monsters config
|
||||
* properties are set in accordance with the current animals
|
||||
* and monsters in the world, respectively.
|
||||
*/
|
||||
public void syncMobs() {
|
||||
|
||||
if (this.getAnimalList().isEmpty()) {
|
||||
this.world.setSpawnFlags(this.world.getAllowMonsters(), this.getKnownProperty("animals", Boolean.class).getValue());
|
||||
|
Loading…
Reference in New Issue
Block a user