Skip to content

Commit

Permalink
Included everything because relocation does not include unused classes.
Browse files Browse the repository at this point in the history
  • Loading branch information
Stonley890 committed May 31, 2024
1 parent f64ac00 commit f2a8ca7
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
5 changes: 4 additions & 1 deletion dreamvisitor/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>io.github.stonley890</groupId>
<artifactId>dreamvisitor</artifactId>
<version>2.13.1-hotfix-2</version>
<version>2.13.1-hotfix-3</version>
<packaging>jar</packaging>

<name>Dreamvisitor</name>
Expand Down Expand Up @@ -143,6 +143,9 @@
<relocation>
<pattern>dev.jorel.commandapi</pattern>
<shadedPattern>io.github.stonley890.dreamvisitor.shaded.dev.jorel.commandapi</shadedPattern>
<includes>
<include>dev.jorel.commandapi.*</include>
</includes>
</relocation>
</relocations>
</configuration>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import dev.jorel.commandapi.CommandAPI;
import dev.jorel.commandapi.CommandAPICommand;
import dev.jorel.commandapi.CommandPermission;
import dev.jorel.commandapi.ExecutableCommand;
import dev.jorel.commandapi.arguments.GreedyStringArgument;
import io.github.stonley890.dreamvisitor.Dreamvisitor;
import io.github.stonley890.dreamvisitor.functions.Radio;
Expand All @@ -15,7 +16,7 @@ public class CmdAdminRadio implements DVCommand {

@NotNull
@Override
public CommandAPICommand getCommand() {
public ExecutableCommand<?, ?> getCommand() {
return new CommandAPICommand("aradio")
.withPermission(CommandPermission.OP)
.withHelp("Use the admin radio.", "Sends a message to all operators.")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ public static Argument<Tribe> customTribeArgument(String nodeName) {
}
return tribe;
}).replaceSuggestions(ArgumentSuggestions.strings(info -> Arrays.stream(Tribe.values()).map(tribe -> tribe.name().toUpperCase()).toArray(String[]::new)));

}

}
2 changes: 1 addition & 1 deletion dreamvisitor/src/main/resources/plugin.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
main: io.github.stonley890.dreamvisitor.Dreamvisitor
name: Dreamvisitor
version: 2.13.1
version: 2.13.1-hotfix-3
api-version: 1.20
description: A plugin created by Bog for WoF:TNW to add various features.
author: Stonley890
Expand Down

0 comments on commit f2a8ca7

Please sign in to comment.