Updated to renamed API
This commit is contained in:
parent
fd6a9051d0
commit
5f03c96181
2
pom.xml
2
pom.xml
|
@ -71,7 +71,7 @@
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>world.bentobox</groupId>
|
<groupId>world.bentobox</groupId>
|
||||||
<artifactId>bentobox</artifactId>
|
<artifactId>bentobox</artifactId>
|
||||||
<version>LATEST</version>
|
<version>FC-0.81</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>bskyblock.addon</groupId>
|
<groupId>bskyblock.addon</groupId>
|
||||||
|
|
|
@ -29,7 +29,7 @@ import bentobox.addon.warps.event.WarpInitiateEvent;
|
||||||
import bentobox.addon.warps.event.WarpListEvent;
|
import bentobox.addon.warps.event.WarpListEvent;
|
||||||
import world.bentobox.bentobox.BentoBox;
|
import world.bentobox.bentobox.BentoBox;
|
||||||
import world.bentobox.bentobox.api.user.User;
|
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.database.objects.Island;
|
||||||
import world.bentobox.bentobox.util.Util;
|
import world.bentobox.bentobox.util.Util;
|
||||||
|
|
||||||
|
@ -45,7 +45,7 @@ public class WarpSignsManager {
|
||||||
// Map of all warps stored as player, warp sign Location
|
// Map of all warps stored as player, warp sign Location
|
||||||
private Map<World, Map<UUID, Location>> worldsWarpList;
|
private Map<World, Map<UUID, Location>> worldsWarpList;
|
||||||
// Database handler for level data
|
// Database handler for level data
|
||||||
private BSBDatabase<WarpsData> handler;
|
private BBDatabase<WarpsData> handler;
|
||||||
|
|
||||||
private Warp addon;
|
private Warp addon;
|
||||||
|
|
||||||
|
@ -68,7 +68,7 @@ public class WarpSignsManager {
|
||||||
this.plugin = plugin;
|
this.plugin = plugin;
|
||||||
// Set up the database handler to store and retrieve Island classes
|
// Set up the database handler to store and retrieve Island classes
|
||||||
// Note that these are saved by the BSkyBlock database
|
// Note that these are saved by the BSkyBlock database
|
||||||
handler = new BSBDatabase<>(addon, WarpsData.class);
|
handler = new BBDatabase<>(addon, WarpsData.class);
|
||||||
// Load the warps
|
// Load the warps
|
||||||
loadWarpList();
|
loadWarpList();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue