Skip to content

Commit

Permalink
Merge pull request #6 from TheNextLvl-net/dependencies
Browse files Browse the repository at this point in the history
Dependencies
  • Loading branch information
NonSwag authored Jul 5, 2024
2 parents 4e6e2bb + d42f96f commit 2885359
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 13 deletions.
14 changes: 7 additions & 7 deletions plugin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,17 @@ repositories {
dependencies {
compileOnly("org.projectlombok:lombok:1.18.32")
compileOnly("net.thenextlvl.core:annotations:2.0.1")
compileOnly("io.papermc.paper:paper-api:1.20.6-R0.1-SNAPSHOT")
compileOnly("io.papermc.paper:paper-api:1.21-R0.1-SNAPSHOT")

implementation("org.bstats:bstats-bukkit:3.0.2")
implementation("org.incendo:cloud-paper:2.0.0-beta.8")
implementation("org.incendo:cloud-minecraft-extras:2.0.0-beta.8")
implementation("org.incendo:cloud-paper:2.0.0-beta.9")
implementation("org.incendo:cloud-minecraft-extras:2.0.0-beta.9")

implementation(project(":api"))
implementation("net.thenextlvl.core:nbt:1.4.0")
implementation("net.thenextlvl.core:files:1.0.5-pre2")
implementation("net.thenextlvl.core:i18n:1.0.15")
implementation("net.thenextlvl.core:paper:1.3.0")
implementation("net.thenextlvl.core:nbt:1.4.2")
implementation("net.thenextlvl.core:files:1.0.5")
implementation("net.thenextlvl.core:i18n:1.0.18")
implementation("net.thenextlvl.core:paper:1.3.5")
implementation("net.thenextlvl.core:adapters:1.0.9")

annotationProcessor("org.projectlombok:lombok:1.18.32")
Expand Down
10 changes: 4 additions & 6 deletions plugin/src/main/java/net/thenextlvl/worlds/Worlds.java
Original file line number Diff line number Diff line change
Expand Up @@ -41,17 +41,15 @@ public class Worlds extends JavaPlugin {
audience instanceof Player player ? player.locale() : Locale.US)
.register("worlds", Locale.US)
.register("worlds_german", Locale.GERMANY)
.fallback(Locale.US);
.miniMessage(bundle -> MiniMessage.builder().tags(TagResolver.resolver(
TagResolver.standard(),
Placeholder.component("prefix", bundle.component(Locale.US, "prefix"))
)).build());;

private final Metrics metrics = new Metrics(this, 19652);

@Override
public void onLoad() {
bundle().miniMessage(MiniMessage.builder().tags(TagResolver.resolver(
TagResolver.standard(),
Placeholder.component("prefix", bundle().component(Locale.US, "prefix"))
)).build());

Bukkit.getServicesManager().register(LinkRegistry.class, linkRegistry(), this, ServicePriority.Highest);

saveDefaultPresets();
Expand Down

0 comments on commit 2885359

Please sign in to comment.