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 } } }