Skip to content

Commit

Permalink
not sure
Browse files Browse the repository at this point in the history
  • Loading branch information
broccoli committed Dec 22, 2022
1 parent c43ce56 commit c447477
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 11 deletions.
6 changes: 2 additions & 4 deletions api/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
dependencies {
api("com.google.inject", "guice", Versions.GUICE)

api("net.kyori", "adventure-api", Versions.ADVENTURE)
api("net.kyori", "adventure-text-minimessage", Versions.ADVENTURE) {
isTransitive = true
}
compileOnlyApi("net.kyori", "adventure-api", Versions.ADVENTURE)
compileOnlyApi("net.kyori", "adventure-text-minimessage", Versions.ADVENTURE)

api("net.kyori", "event-api", Versions.EVENT)
}
4 changes: 0 additions & 4 deletions bukkit/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@ tasks {
"org.spongepowered.configurate",
"io.leangen.geantyref",
"cloud.commandframework",
"net.kyori.adventure",
"net.kyori.examination",
"net.kyori.event",
"net.kyori.coffee",
"org.objectweb.asm",
Expand Down Expand Up @@ -68,8 +66,6 @@ dependencies {
compileOnly("me.clip", "placeholderapi", Versions.PAPI)
compileOnly("com.github.MilkBowl", "VaultAPI", Versions.VAULT)

api("net.kyori", "adventure-platform-bukkit", Versions.ADVENTURE_PLATFORM)

api("cloud.commandframework", "cloud-paper", Versions.CLOUD)
api("cloud.commandframework", "cloud-minecraft-extras", Versions.CLOUD)
}
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,6 @@ private static CommandUser from(final @NonNull CommandSender sender) {
return new BukkitConsoleCommandUser(console);
} else if (sender instanceof Player) {
Player player = (Player) sender;

return new BukkitPlayerCommandUser(player);
}

Expand Down
3 changes: 1 addition & 2 deletions bukkit/src/main/resources/queries/save-user.sql
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
INSERT
OR REPLACE INTO tags_users(uuid, currentTag)
REPLACE INTO tags_users(uuid, currentTag)
VALUES(:uuid, :currentTag);

0 comments on commit c447477

Please sign in to comment.