mirror of
https://github.com/PurpurMC/Purpur.git
synced 2026-02-20 18:07:43 +01:00
Add support for "/chase", a disabled Minecraft command. (#1690)
Co-authored-by: granny <granny@purpurmc.org>
This commit is contained in:
@@ -9,6 +9,19 @@
|
||||
RaidCommand.register(this.dispatcher, context);
|
||||
DebugPathCommand.register(this.dispatcher);
|
||||
DebugMobSpawningCommand.register(this.dispatcher);
|
||||
@@ -264,6 +_,12 @@
|
||||
}
|
||||
}
|
||||
|
||||
+ // Purpur start - register disabled minecraft commands
|
||||
+ if (org.purpurmc.purpur.PurpurConfig.registerMinecraftDisabledCommands) {
|
||||
+ net.minecraft.server.commands.ChaseCommand.register(this.dispatcher);
|
||||
+ }
|
||||
+ // Purpur end - register disabled minecraft commands
|
||||
+
|
||||
if (selection.includeDedicated) {
|
||||
BanIpCommands.register(this.dispatcher);
|
||||
BanListCommands.register(this.dispatcher);
|
||||
@@ -280,6 +_,14 @@
|
||||
StopCommand.register(this.dispatcher);
|
||||
TransferCommand.register(this.dispatcher);
|
||||
|
||||
Reference in New Issue
Block a user