summaryrefslogtreecommitdiffstats
path: root/nms-patches/ItemBucket.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nms-patches/ItemBucket.patch')
-rw-r--r--nms-patches/ItemBucket.patch7
1 files changed, 6 insertions, 1 deletions
diff --git a/nms-patches/ItemBucket.patch b/nms-patches/ItemBucket.patch
index d5c9794a..5f3c3d5b 100644
--- a/nms-patches/ItemBucket.patch
+++ b/nms-patches/ItemBucket.patch
@@ -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);