geforkt von Mirrors/Velocity
Switch to our internal Brigadier fork
Dieser Commit ist enthalten in:
Ursprung
44f872eea4
Commit
511165415d
@ -41,7 +41,7 @@ dependencies {
|
||||
api "org.slf4j:slf4j-api:${slf4jVersion}"
|
||||
api 'com.google.inject:guice:4.2.3'
|
||||
api "org.checkerframework:checker-qual:${checkerFrameworkVersion}"
|
||||
api 'com.mojang:brigadier:1.0.17'
|
||||
api 'com.velocitypowered:velocity-brigadier:1.0.0-SNAPSHOT'
|
||||
|
||||
api "org.spongepowered:configurate-hocon:${configurateVersion}"
|
||||
api "org.spongepowered:configurate-yaml:${configurateVersion}"
|
||||
|
@ -52,9 +52,9 @@ allprojects {
|
||||
url 'https://oss.sonatype.org/content/groups/public/'
|
||||
}
|
||||
|
||||
// Brigadier
|
||||
// Velocity repo
|
||||
maven {
|
||||
url "https://libraries.minecraft.net"
|
||||
url "https://nexus.velocitypowered.com/repository/maven-public/"
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -94,6 +94,7 @@ public class CommandManagerTests {
|
||||
assertTrue(manager.hasCommand("foO"));
|
||||
manager.unregister("fOo");
|
||||
assertFalse(manager.hasCommand("foo"));
|
||||
assertFalse(manager.execute(MockCommandSource.INSTANCE, "foo"));
|
||||
|
||||
manager.register("foo", command, "bAr", "BAZ");
|
||||
assertTrue(manager.hasCommand("bar"));
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren