Skip to content

Commit

Permalink
fix build error
Browse files Browse the repository at this point in the history
  • Loading branch information
ririf4 committed Feb 6, 2025
1 parent 7ba6295 commit 8705faf
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,16 @@ tasks.named<ProcessResources>("processResources") {
}
}

tasks.named("remapJar") {
dependsOn(tasks.named("jar"))
dependsOn(tasks.named("sourcesJar"))
}

tasks.named("remapSourcesJar") {
dependsOn(tasks.named("sourcesJar"))
dependsOn(tasks.named("jar"))
}

tasks.withType<Jar> {
duplicatesStrategy = DuplicatesStrategy.EXCLUDE

Expand Down
2 changes: 1 addition & 1 deletion src/main/kotlin/net/ririfa/fabricord/grp/GroupManager.kt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import com.mojang.brigadier.arguments.StringArgumentType.greedyString
import net.fabricmc.fabric.api.command.v2.CommandRegistrationCallback
import net.kyori.adventure.text.Component
import net.kyori.adventure.text.serializer.gson.GsonComponentSerializer
import net.minecraft.network.packet.s2c.play.CommandSuggestionsS2CPacket
import net.minecraft.server.command.CommandManager.argument
import net.minecraft.server.command.CommandManager.literal
import net.minecraft.server.command.ServerCommandSource
Expand Down Expand Up @@ -287,6 +286,7 @@ object GroupManager {
}
}

//TODO: Use LangMan
private fun joinGroup(player: ServerPlayerEntity, group: Group, source: ServerCommandSource) {
if (group.members.contains(player.uuid)) {
source.sendMessage(Text.literal("You are already a member of this group."))
Expand Down

0 comments on commit 8705faf

Please sign in to comment.