Skip to content

Commit

Permalink
Bump Teams
Browse files Browse the repository at this point in the history
  • Loading branch information
PeachesMLG committed Dec 27, 2024
1 parent 2405e59 commit c27e8f3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ dependencies {
implementation("org.jetbrains:annotations:26.0.1")
implementation("com.j256.ormlite:ormlite-core:6.1")
implementation("com.j256.ormlite:ormlite-jdbc:6.1")
implementation("com.iridium:IridiumTeams:2.5.8")
implementation("com.iridium:IridiumTeams:2.5.9.5")
implementation("commons-lang:commons-lang:2.6")

// Other dependencies that are not required or already available at runtime
compileOnly("org.projectlombok:lombok:1.18.36")
compileOnly("org.spigotmc:spigot-api:1.21.1-R0.1-SNAPSHOT")
compileOnly("org.spigotmc:spigot-api:1.21.4-R0.1-SNAPSHOT")
compileOnly("com.github.MilkBowl:VaultAPI:1.7.1")
compileOnly("net.ess3:EssentialsXSpawn:2.16.1")
compileOnly("com.sk89q.worldedit:worldedit-bukkit:7.2.13-SNAPSHOT")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public void buy(Player player, Biomes.BiomeItem biomeItem) {
XBiome biome = biomeItem.biome;
User user = IridiumSkyblock.getInstance().getUserManager().getUser(player);
Optional<Island> island = user.getIsland();
Optional<XBiome> biomeOptional = XBiome.matchXBiome(biomeItem.biome.toString());
Optional<XBiome> biomeOptional = XBiome.of(biomeItem.biome.toString());

if (!canPurchase(player, biomeItem)) {
IridiumSkyblock.getInstance().getBiomes().failSound.play(player);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public void createWorld(World.Environment environment, String name) {
}

public void setIslandBiome(@NotNull Island island, @NotNull XBiome biome) {
World.Environment dimension = biome.getEnvironment();
World.Environment dimension = biome.getEnvironment().get();
World world = getWorld(dimension);

if (world == null) return;
Expand Down Expand Up @@ -253,9 +253,9 @@ public CompletableFuture<Void> generateIsland(Island island, Schematics.Schemati
deleteIslandBlocks(island).join();
clearEntities(island);
IridiumSkyblock.getInstance().getSchematicManager().pasteSchematic(island, schematicConfig).join();
setIslandBiome(island, XBiome.matchXBiome(schematicConfig.overworld.biome));
setIslandBiome(island, XBiome.matchXBiome(schematicConfig.nether.biome));
setIslandBiome(island, XBiome.matchXBiome(schematicConfig.end.biome));
setIslandBiome(island, XBiome.of(schematicConfig.overworld.biome));
setIslandBiome(island, XBiome.of(schematicConfig.nether.biome));
setIslandBiome(island, XBiome.of(schematicConfig.end.biome));
});
}

Expand Down

0 comments on commit c27e8f3

Please sign in to comment.