Updated to renamed API

This commit is contained in:
tastybento 2018-08-05 20:39:59 -07:00
parent fd6a9051d0
commit 5f03c96181
2 changed files with 4 additions and 4 deletions

View File

@ -71,7 +71,7 @@
<dependency>
<groupId>world.bentobox</groupId>
<artifactId>bentobox</artifactId>
<version>LATEST</version>
<version>FC-0.81</version>
</dependency>
<dependency>
<groupId>bskyblock.addon</groupId>

View File

@ -29,7 +29,7 @@ import bentobox.addon.warps.event.WarpInitiateEvent;
import bentobox.addon.warps.event.WarpListEvent;
import world.bentobox.bentobox.BentoBox;
import world.bentobox.bentobox.api.user.User;
import world.bentobox.bentobox.database.BSBDatabase;
import world.bentobox.bentobox.database.BBDatabase;
import world.bentobox.bentobox.database.objects.Island;
import world.bentobox.bentobox.util.Util;
@ -45,7 +45,7 @@ public class WarpSignsManager {
// Map of all warps stored as player, warp sign Location
private Map<World, Map<UUID, Location>> worldsWarpList;
// Database handler for level data
private BSBDatabase<WarpsData> handler;
private BBDatabase<WarpsData> handler;
private Warp addon;
@ -68,7 +68,7 @@ public class WarpSignsManager {
this.plugin = plugin;
// Set up the database handler to store and retrieve Island classes
// Note that these are saved by the BSkyBlock database
handler = new BSBDatabase<>(addon, WarpsData.class);
handler = new BBDatabase<>(addon, WarpsData.class);
// Load the warps
loadWarpList();
}