Update to Caliburn 0.1.6

This commit is contained in:
Daniel Saukel 2016-06-20 18:57:53 +02:00
parent c0736be0ae
commit 511725f091
2 changed files with 3 additions and 10 deletions

View File

@ -87,12 +87,12 @@
<dependency> <dependency>
<groupId>io.github.dre2n</groupId> <groupId>io.github.dre2n</groupId>
<artifactId>caliburn</artifactId> <artifactId>caliburn</artifactId>
<version>0.1.5</version> <version>0.1.6</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>io.github.dre2n</groupId> <groupId>io.github.dre2n</groupId>
<artifactId>itemsxl</artifactId> <artifactId>itemsxl</artifactId>
<version>0.1.5</version> <version>0.1.6</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>io.github.dre2n</groupId> <groupId>io.github.dre2n</groupId>

View File

@ -17,10 +17,6 @@
package io.github.dre2n.dungeonsxl; package io.github.dre2n.dungeonsxl;
import io.github.dre2n.caliburn.CaliburnAPI; import io.github.dre2n.caliburn.CaliburnAPI;
import io.github.dre2n.caliburn.item.ItemCategories;
import io.github.dre2n.caliburn.item.Items;
import io.github.dre2n.caliburn.mob.MobCategories;
import io.github.dre2n.caliburn.mob.Mobs;
import io.github.dre2n.commons.command.BRCommands; import io.github.dre2n.commons.command.BRCommands;
import io.github.dre2n.commons.compatibility.Internals; import io.github.dre2n.commons.compatibility.Internals;
import io.github.dre2n.commons.compatibility.Version; import io.github.dre2n.commons.compatibility.Version;
@ -63,8 +59,6 @@ import io.github.dre2n.itemsxl.ItemsXL;
import java.io.File; import java.io.File;
import java.util.List; import java.util.List;
import java.util.concurrent.CopyOnWriteArrayList; import java.util.concurrent.CopyOnWriteArrayList;
import org.bukkit.configuration.ConfigurationSection;
import org.bukkit.configuration.file.YamlConfiguration;
import org.bukkit.event.HandlerList; import org.bukkit.event.HandlerList;
import org.bukkit.scheduler.BukkitTask; import org.bukkit.scheduler.BukkitTask;
@ -334,8 +328,7 @@ public class DungeonsXL extends BRPlugin {
caliburn = ItemsXL.getInstance().getAPI(); caliburn = ItemsXL.getInstance().getAPI();
} else { } else {
caliburn = new CaliburnAPI(this); caliburn = new CaliburnAPI(this);
ConfigurationSection placeholder = new YamlConfiguration(); caliburn.setupClean();
caliburn.setup(new Items(caliburn), new Mobs(caliburn), new ItemCategories(caliburn, placeholder), new MobCategories(caliburn, placeholder));
} }
} }