mirror of
https://github.com/songoda/EpicBosses.git
synced 2024-12-23 00:17:53 +01:00
1.0.7-U1
+ Fixed issue when creating new AutoSpawn sections not being able to load Custom Settings
This commit is contained in:
parent
84c1278a85
commit
aa21a516b7
@ -451,6 +451,7 @@ public class BossAPI {
|
||||
IntervalSpawnElement intervalSpawnElement = new IntervalSpawnElement("world,0,100,0", "{boss_" + name + "}", 30, false);
|
||||
AutoSpawn autoSpawn = new AutoSpawn(true, new ArrayList<>(), new AutoSpawnSettings(1, 1, false, false));
|
||||
|
||||
autoSpawn.setType("INTERVAL");
|
||||
autoSpawn.setCustomData(BossAPI.convertObjectToJsonObject(intervalSpawnElement));
|
||||
PLUGIN.getAutoSpawnFileManager().saveAutoSpawn(name, autoSpawn);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user