diff options
Diffstat (limited to 'patches/server/0433-Entity-isTicking.patch')
-rw-r--r-- | patches/server/0433-Entity-isTicking.patch | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/patches/server/0433-Entity-isTicking.patch b/patches/server/0433-Entity-isTicking.patch index 205f3da8d5..1b453a84c9 100644 --- a/patches/server/0433-Entity-isTicking.patch +++ b/patches/server/0433-Entity-isTicking.patch @@ -19,17 +19,18 @@ index 44610d4e3fb69e6cf5629d9e895e93d8dd5e09e9..2c0c41ae455ae5894e6bd85830741143 // Paper end - Expose entity id counter } diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftEntity.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftEntity.java -index c8033bde8976c128da832befe4225238737a992a..103e8707ae9434c8e60059f75dafdd9e0fcc8b39 100644 +index f664fd4aa8d79e95787848b5a3e0ed7bc182fa25..ef8f8b3f97405250ebe058c67c4099da66a8e773 100644 --- a/src/main/java/org/bukkit/craftbukkit/entity/CraftEntity.java +++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftEntity.java -@@ -1059,5 +1059,10 @@ public abstract class CraftEntity implements org.bukkit.entity.Entity { - public boolean isInLava() { +@@ -1035,4 +1035,11 @@ public abstract class CraftEntity implements org.bukkit.entity.Entity { return getHandle().isInLava(); } + // Paper end - entity liquid API + ++ // Paper start - isTicking API + @Override + public boolean isTicking() { + return getHandle().isTicking(); + } - // Paper end ++ // Paper end - isTicking API } |