+ Fixed issue when creating new AutoSpawn sections not being able to load Custom Settings
This commit is contained in:
Charles 2019-02-02 01:03:20 +08:00
parent 84c1278a85
commit aa21a516b7
2 changed files with 2 additions and 1 deletions

View File

@ -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);

View File

@ -19,7 +19,7 @@
</modules>
<properties>
<plugin.version>1.0.6-U2</plugin.version>
<plugin.version>1.0.7-U1</plugin.version>
<plugin.name>EpicBosses</plugin.name>
<plugin.main>com.songoda.epicbosses.CustomBosses</plugin.main>
<plugin.author>AMinecraftDev</plugin.author>