aboutsummaryrefslogtreecommitdiffhomepage
path: root/Spigot-Server-Patches/0521-Add-entity-liquid-API.patch
diff options
context:
space:
mode:
authorMariell Hoversholm <[email protected]>2021-03-16 16:50:45 +0100
committerMariell Hoversholm <[email protected]>2021-03-18 18:03:22 +0100
commitf6d820f077cb565d0a5e891eaf3e586d53f1204a (patch)
tree5d111678250aa7a27a809a53635e015f21690652 /Spigot-Server-Patches/0521-Add-entity-liquid-API.patch
parent0f78e95250b1123760c24473329e248ba817827d (diff)
downloadPaper-f6d820f077cb565d0a5e891eaf3e586d53f1204a.tar.gz
Paper-f6d820f077cb565d0a5e891eaf3e586d53f1204a.zip
It compiles
Diffstat (limited to 'Spigot-Server-Patches/0521-Add-entity-liquid-API.patch')
-rw-r--r--Spigot-Server-Patches/0521-Add-entity-liquid-API.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/Spigot-Server-Patches/0521-Add-entity-liquid-API.patch b/Spigot-Server-Patches/0521-Add-entity-liquid-API.patch
index e4451979e4..abbec1c1e7 100644
--- a/Spigot-Server-Patches/0521-Add-entity-liquid-API.patch
+++ b/Spigot-Server-Patches/0521-Add-entity-liquid-API.patch
@@ -5,7 +5,7 @@ Subject: [PATCH] Add entity liquid API
diff --git a/src/main/java/net/minecraft/world/entity/Entity.java b/src/main/java/net/minecraft/world/entity/Entity.java
-index 2dc65047fcba5d498caf76ce2ceeebf7a914b8cd..f0e120e0d0da6949b7a5a12e5217b3d70ccec7fa 100644
+index 27e5ba64ed6406c1ece318bf79fca0f261a77818..743d4725c0a26a8abd0a98eed2ec45ffba6211ad 100644
--- a/src/main/java/net/minecraft/world/entity/Entity.java
+++ b/src/main/java/net/minecraft/world/entity/Entity.java
@@ -1166,12 +1166,13 @@ public abstract class Entity implements INamableTileEntity, ICommandListener, ne
@@ -40,10 +40,10 @@ index 2dc65047fcba5d498caf76ce2ceeebf7a914b8cd..f0e120e0d0da6949b7a5a12e5217b3d7
return !this.justCreated && this.M.getDouble(TagsFluid.LAVA) > 0.0D;
}
diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftEntity.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftEntity.java
-index 27b90388cc21ffdccaabc8072ead1bd29f3e88c6..d76800778ccf05913ff887a566b3a2f11ec2d40b 100644
+index 266b2cbd6bfaf10743929a1eeb9732a5d1fb4c62..387f6f6fa9bbb1cce544cfb907f68c7993752dd7 100644
--- a/src/main/java/org/bukkit/craftbukkit/entity/CraftEntity.java
+++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftEntity.java
-@@ -1133,5 +1133,29 @@ public abstract class CraftEntity implements org.bukkit.entity.Entity {
+@@ -1137,5 +1137,29 @@ public abstract class CraftEntity implements org.bukkit.entity.Entity {
public org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason getEntitySpawnReason() {
return getHandle().spawnReason;
}