SPIGOT-4161: Missing BlockDispenseEvent for Waterlogged
By: md_5 <git@md-5.net>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
--- a/net/minecraft/server/ItemBucket.java
|
||||
+++ b/net/minecraft/server/ItemBucket.java
|
||||
@@ -1,6 +1,13 @@
|
||||
@@ -1,10 +1,17 @@
|
||||
package net.minecraft.server;
|
||||
|
||||
import javax.annotation.Nullable;
|
||||
@@ -14,6 +14,11 @@
|
||||
|
||||
public class ItemBucket extends Item {
|
||||
|
||||
- private final FluidType a;
|
||||
+ public final FluidType a; // PAIL: private->public
|
||||
|
||||
public ItemBucket(FluidType fluidtype, Item.Info item_info) {
|
||||
super(item_info);
|
||||
@@ -28,12 +35,20 @@
|
||||
if (this.a == FluidTypes.a) {
|
||||
iblockdata = world.getType(blockposition);
|
||||
|
||||
Reference in New Issue
Block a user