From a5facdc5bc0fcee68ac2abb1c25c8c3710c2e5c5 Mon Sep 17 00:00:00 2001 From: Chaosdave34 Date: Mon, 23 Dec 2024 01:02:52 +0100 Subject: [PATCH] Shorter comments --- .../net/minecraft/world/entity/player/Player.java.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/paper-server/patches/sources/net/minecraft/world/entity/player/Player.java.patch b/paper-server/patches/sources/net/minecraft/world/entity/player/Player.java.patch index 85af582d44..f6139ed498 100644 --- a/paper-server/patches/sources/net/minecraft/world/entity/player/Player.java.patch +++ b/paper-server/patches/sources/net/minecraft/world/entity/player/Player.java.patch @@ -674,7 +674,7 @@ } - return this.abilities.instabuild ? new ItemStack(Items.ARROW) : ItemStack.EMPTY; -+ // Paper start - Call PlayerUseBowWithoutProjectileEvent in Player#getProjectile ++ // Paper start - PlayerUseBowWithoutProjectileEvent + if (this.abilities.instabuild) { + return new ItemStack(Items.ARROW); + } else { @@ -682,7 +682,7 @@ + event.callEvent(); + return org.bukkit.craftbukkit.inventory.CraftItemStack.asNMSCopy(event.getProjectile()); + } -+ // Paper end - Call PlayerUseBowWithoutProjectileEvent in Player#getProjectile ++ // Paper end - PlayerUseBowWithoutProjectileEvent } } }