Skip to content

Commit b01dda2

Browse files
committed
Updated to velocity 3.4.0
1 parent ff6d75e commit b01dda2

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ fabric_loader_v21 = { module = "net.fabricmc:fabric-loader", version = "0.16.9"
2525
parchment_mappings_v21 = { module = "org.parchmentmc.data:parchment-1.21", version = "2024.11.10" }
2626

2727
# Velocioty
28-
velocity = { module = "com.velocitypowered:velocity-api", version = "3.1.2-SNAPSHOT" }
28+
velocity = { module = "com.velocitypowered:velocity-api", version = "3.4.0-SNAPSHOT" }
2929

3030
# Dependencies
3131
lombok = { module = "org.projectlombok:lombok", version = "1.18.36" }

src/velocity/src/main/java/com/voinearadu/commandmanager/velocity/manager/VelocityCommandManager.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,10 @@ protected void platformRegister(@NotNull CommonCommand primitiveCommand) {
3232

3333
com.velocitypowered.api.command.CommandManager commandManager = proxy.getCommandManager();
3434

35+
3536
CommandMeta commandMeta = commandManager.metaBuilder(command.getMainAlias())
3637
.aliases(command.getAliases().subList(1, command.getAliases().size()).toArray(new String[0]))
37-
.plugin(this)
38+
.plugin(this.proxy)
3839
.build();
3940

4041

0 commit comments

Comments
 (0)