mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-03 23:07:40 +01:00
SPIGOT-6443: Fix PlayerBucketFishEvent#getWaterBucket returning the wrong item
By: DiamondDagger590 <diamonddagger590@gmail.com>
This commit is contained in:
parent
0158dbb6fe
commit
2b0986b240
@ -39,13 +39,13 @@ public class PlayerBucketFishEvent extends PlayerEvent implements Cancellable {
|
|||||||
/**
|
/**
|
||||||
* Gets the bucket used.
|
* 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
|
* @return The used bucket
|
||||||
*/
|
*/
|
||||||
@NotNull
|
@NotNull
|
||||||
public ItemStack getWaterBucket() {
|
public ItemStack getWaterBucket() {
|
||||||
return fishBucket;
|
return waterBucket;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user