From 2b0986b2406dff3846e05b196c2cd8e89db5c62d Mon Sep 17 00:00:00 2001
From: Bukkit/Spigot <noreply+git-bukkit@papermc.io>
Date: Sat, 1 May 2021 08:34:11 +1000
Subject: [PATCH] SPIGOT-6443: Fix PlayerBucketFishEvent#getWaterBucket
 returning the wrong item

By: DiamondDagger590 <diamonddagger590@gmail.com>
---
 .../java/org/bukkit/event/player/PlayerBucketFishEvent.java   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/paper-api/src/main/java/org/bukkit/event/player/PlayerBucketFishEvent.java b/paper-api/src/main/java/org/bukkit/event/player/PlayerBucketFishEvent.java
index 475b1c1d2b..8564c55a90 100644
--- a/paper-api/src/main/java/org/bukkit/event/player/PlayerBucketFishEvent.java
+++ b/paper-api/src/main/java/org/bukkit/event/player/PlayerBucketFishEvent.java
@@ -39,13 +39,13 @@ public class PlayerBucketFishEvent extends PlayerEvent implements Cancellable {
     /**
      * Gets the bucket used.
      *
-     * This refers to the bucket clicked with, ie {@link Material#WATER}.
+     * This refers to the bucket clicked with, ie {@link Material#WATER_BUCKET}.
      *
      * @return The used bucket
      */
     @NotNull
     public ItemStack getWaterBucket() {
-        return fishBucket;
+        return waterBucket;
     }
 
     /**