This commit is contained in:
@ -1,17 +1,17 @@
|
|||||||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||||
From: Chaoscaot <chaos@chaoscaot.de>
|
From: Chaoscaot <chaos@chaoscaot.de>
|
||||||
Date: Wed, 25 Dec 2024 12:31:02 +0100
|
Date: Sun, 30 Mar 2025 12:00:50 +0200
|
||||||
Subject: [PATCH] SW Disable Commands
|
Subject: [PATCH] SW Disable Commands
|
||||||
|
|
||||||
|
|
||||||
diff --git a/net/minecraft/commands/Commands.java b/net/minecraft/commands/Commands.java
|
diff --git a/net/minecraft/commands/Commands.java b/net/minecraft/commands/Commands.java
|
||||||
index 19ccf3abf14c67f72a1ca065e4a304f50e645ef4..86d2a9b1cbe6e03066ea4a2034e2dd611bff67cb 100644
|
index f8969a68cd352ce4fe5109205e78f5e19ab6e020..efae844a9419b1e06bcd6ed0d2a4d70cb622330f 100644
|
||||||
--- a/net/minecraft/commands/Commands.java
|
--- a/net/minecraft/commands/Commands.java
|
||||||
+++ b/net/minecraft/commands/Commands.java
|
+++ b/net/minecraft/commands/Commands.java
|
||||||
@@ -150,66 +150,66 @@ public class Commands {
|
@@ -155,66 +155,66 @@ public class Commands {
|
||||||
private final CommandDispatcher<CommandSourceStack> dispatcher = new CommandDispatcher<>();
|
}
|
||||||
|
public Commands(Commands.CommandSelection selection, CommandBuildContext context, final boolean modern) {
|
||||||
public Commands(Commands.CommandSelection selection, CommandBuildContext context) {
|
// Paper end - Brigadier API - modern minecraft overloads that do not use redirects but are copies instead
|
||||||
- AdvancementCommands.register(this.dispatcher);
|
- AdvancementCommands.register(this.dispatcher);
|
||||||
- AttributeCommand.register(this.dispatcher, context);
|
- AttributeCommand.register(this.dispatcher, context);
|
||||||
- ExecuteCommand.register(this.dispatcher, context);
|
- ExecuteCommand.register(this.dispatcher, context);
|
||||||
@ -119,7 +119,7 @@ index 19ccf3abf14c67f72a1ca065e4a304f50e645ef4..86d2a9b1cbe6e03066ea4a2034e2dd61
|
|||||||
WeatherCommand.register(this.dispatcher);
|
WeatherCommand.register(this.dispatcher);
|
||||||
WorldBorderCommand.register(this.dispatcher);
|
WorldBorderCommand.register(this.dispatcher);
|
||||||
if (JvmProfiler.INSTANCE.isAvailable()) {
|
if (JvmProfiler.INSTANCE.isAvailable()) {
|
||||||
@@ -230,20 +230,20 @@ public class Commands {
|
@@ -235,20 +235,20 @@ public class Commands {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (selection.includeDedicated) {
|
if (selection.includeDedicated) {
|
||||||
Reference in New Issue
Block a user