aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/api/0418-Fix-NPE-on-Boat-getStatus.patch
diff options
context:
space:
mode:
authorRiley Park <[email protected]>2024-05-15 17:06:59 -0700
committerGitHub <[email protected]>2024-05-15 17:06:59 -0700
commitf17519338bc589c045e0b32bfc37e048b23544d5 (patch)
treee50182ec698b4a9de8f366f485ee089b1901bbd9 /patches/api/0418-Fix-NPE-on-Boat-getStatus.patch
parent3fc93581bb876e8149b2ca423375a98f5ca12d27 (diff)
downloadPaper-f17519338bc589c045e0b32bfc37e048b23544d5.tar.gz
Paper-f17519338bc589c045e0b32bfc37e048b23544d5.zip
Expose server build information (#10729)
* Expose server build information * squash patches * final tweaks --------- Co-authored-by: Jake Potrebic <[email protected]> Co-authored-by: masmc05 <[email protected]>
Diffstat (limited to 'patches/api/0418-Fix-NPE-on-Boat-getStatus.patch')
-rw-r--r--patches/api/0418-Fix-NPE-on-Boat-getStatus.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/patches/api/0418-Fix-NPE-on-Boat-getStatus.patch b/patches/api/0418-Fix-NPE-on-Boat-getStatus.patch
new file mode 100644
index 0000000000..1cf6096a92
--- /dev/null
+++ b/patches/api/0418-Fix-NPE-on-Boat-getStatus.patch
@@ -0,0 +1,18 @@
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
+From: LemonCaramel <[email protected]>
+Date: Tue, 11 Apr 2023 04:04:41 +0900
+Subject: [PATCH] Fix NPE on Boat getStatus
+
+
+diff --git a/src/main/java/org/bukkit/entity/Boat.java b/src/main/java/org/bukkit/entity/Boat.java
+index f7548098bcdd033d9c530fdc584fc5538c635ca1..2ac685fb1817f3ce06ebe6391cc863712d68367c 100644
+--- a/src/main/java/org/bukkit/entity/Boat.java
++++ b/src/main/java/org/bukkit/entity/Boat.java
+@@ -169,6 +169,7 @@ public interface Boat extends Vehicle {
+ */
+ public enum Status {
+
++ NOT_IN_WORLD, // Paper
+ IN_WATER,
+ UNDER_WATER,
+ UNDER_FLOWING_WATER,