summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJake Potrebic <[email protected]>2022-12-06 10:41:04 -0800
committerGitHub <[email protected]>2022-12-06 10:41:04 -0800
commit476ef25d053c523aea416487a38f72011d72a9cf (patch)
tree8b86692029d7f9e2315a23dbe0bd1d688e2b1b16
parentb07d5e0aca0896a5f45b37f1ce02e35657ef1332 (diff)
downloadPaper-1.19.2.tar.gz
Paper-1.19.2.zip
Add missing Fluid type (#8608)1.19.2
-rw-r--r--patches/api/0414-Add-missing-Fluid-type.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/patches/api/0414-Add-missing-Fluid-type.patch b/patches/api/0414-Add-missing-Fluid-type.patch
new file mode 100644
index 0000000000..c260bf8497
--- /dev/null
+++ b/patches/api/0414-Add-missing-Fluid-type.patch
@@ -0,0 +1,23 @@
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
+From: Jake Potrebic <[email protected]>
+Date: Sun, 4 Dec 2022 10:07:16 -0800
+Subject: [PATCH] Add missing Fluid type
+
+
+diff --git a/src/main/java/org/bukkit/Fluid.java b/src/main/java/org/bukkit/Fluid.java
+index 4cc974689a229e73ddbf2c353ac0fe23da03a5b2..7202b44a65e8699cf64329e441e83d4dd1779c19 100644
+--- a/src/main/java/org/bukkit/Fluid.java
++++ b/src/main/java/org/bukkit/Fluid.java
+@@ -8,6 +8,12 @@ import org.jetbrains.annotations.NotNull;
+ */
+ public enum Fluid implements Keyed {
+
++ // Paper start
++ /**
++ * No fluid.
++ */
++ EMPTY,
++ // Paper end
+ /**
+ * Stationary water.
+ */