aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/server/1038-Add-experimental-improved-give-command.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/server/1038-Add-experimental-improved-give-command.patch')
-rw-r--r--patches/server/1038-Add-experimental-improved-give-command.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/patches/server/1038-Add-experimental-improved-give-command.patch b/patches/server/1038-Add-experimental-improved-give-command.patch
index 4ff1984b05..fd226dcb27 100644
--- a/patches/server/1038-Add-experimental-improved-give-command.patch
+++ b/patches/server/1038-Add-experimental-improved-give-command.patch
@@ -226,13 +226,13 @@ index 0d9de4c61c7b26a6ff37c12fde629161fd0c3d5a..47355158e5e762540a10dc67b23092a0
private static int giveItem(CommandSourceStack source, ItemInput item, Collection<ServerPlayer> targets, int count) throws CommandSyntaxException {
diff --git a/src/main/java/org/bukkit/craftbukkit/command/VanillaCommandWrapper.java b/src/main/java/org/bukkit/craftbukkit/command/VanillaCommandWrapper.java
-index 61115db85b81e627d11a0de21691a2ca69aafe2c..ba2a2ca0c36e61cb3cc00fafc7a5dd9f7050388f 100644
+index 2ee33c55890fa659f6d251e486264c85d9e89802..dd1507f65a7f1d84bc7f236f81a60ac1302a13b8 100644
--- a/src/main/java/org/bukkit/craftbukkit/command/VanillaCommandWrapper.java
+++ b/src/main/java/org/bukkit/craftbukkit/command/VanillaCommandWrapper.java
-@@ -98,6 +98,9 @@ public final class VanillaCommandWrapper extends BukkitCommand {
- } else {
- commandName = vanillaCommand.getRedirect().getName();
+@@ -96,6 +96,9 @@ public final class VanillaCommandWrapper extends BukkitCommand {
+ vanillaCommand = vanillaCommand.getRedirect();
}
+ final String commandName = vanillaCommand.getName();
+ if ("pgive".equals(stripDefaultNamespace(commandName))) {
+ return "bukkit.command.paper.pgive";
+ }