mirror of
https://github.com/FabricMC/fabric.git
synced 2025-03-24 22:11:18 -04:00
1.16-pre2
This commit is contained in:
parent
f6620c4898
commit
3c5f026f0d
3 changed files with 5 additions and 5 deletions
build.gradle
fabric-command-api-v1
|
@ -12,8 +12,8 @@ plugins {
|
|||
def ENV = System.getenv()
|
||||
|
||||
class Globals {
|
||||
static def baseVersion = "0.11.5"
|
||||
static def mcVersion = "1.16-pre1"
|
||||
static def baseVersion = "0.11.6"
|
||||
static def mcVersion = "1.16-pre2"
|
||||
static def yarnVersion = "+build.1"
|
||||
}
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
archivesBaseName = "fabric-command-api-v1"
|
||||
version = getSubprojectVersion(project, "1.0.4")
|
||||
version = getSubprojectVersion(project, "1.0.5")
|
||||
|
||||
dependencies {
|
||||
compile project(path: ':fabric-api-base', configuration: 'dev')
|
||||
|
|
|
@ -33,8 +33,8 @@ public abstract class MixinCommandManager {
|
|||
* @reason Add commands before ambiguities are calculated.
|
||||
*/
|
||||
@Redirect(at = @At(value = "INVOKE", target = "Lcom/mojang/brigadier/CommandDispatcher;findAmbiguities(Lcom/mojang/brigadier/AmbiguityConsumer;)V"), method = "<init>")
|
||||
private void fabric_addCommands(CommandDispatcher<ServerCommandSource> dispatcher, AmbiguityConsumer<ServerCommandSource> ambiguityConsumer, CommandManager.class_5364 arg) {
|
||||
if (arg == CommandManager.class_5364.field_25421) {
|
||||
private void fabric_addCommands(CommandDispatcher<ServerCommandSource> dispatcher, AmbiguityConsumer<ServerCommandSource> ambiguityConsumer, CommandManager.RegistrationEnvironment arg) {
|
||||
if (arg != CommandManager.RegistrationEnvironment.DEDICATED) {
|
||||
CommandRegistrationCallback.EVENT.invoker().register(dispatcher, false);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue