Add ping command

This commit is contained in:
William Blake Galbreath
2025-01-05 20:11:36 -08:00
committed by granny
parent 81690bbeaf
commit 4be7fb0d95
4 changed files with 42 additions and 77 deletions

View File

@@ -8,6 +8,14 @@
import org.slf4j.Logger;
public class Commands {
@@ -245,6 +_,7 @@
StopCommand.register(this.dispatcher);
TransferCommand.register(this.dispatcher);
WhitelistCommand.register(this.dispatcher);
+ org.purpurmc.purpur.command.PingCommand.register(this.dispatcher); // Purpur - Add ping command
}
if (selection.includeIntegrated) {
@@ -488,6 +_,7 @@
private void runSync(ServerPlayer player, java.util.Collection<String> bukkit, RootCommandNode<SharedSuggestionProvider> rootCommandNode) {
// Paper end - Perf: Async command map building