diff options
author | Noah van der Aa <[email protected]> | 2022-06-08 15:38:56 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2022-06-08 15:38:56 +0200 |
commit | b1f5e70075fa956e1a70bd1311c72a705896e88d (patch) | |
tree | 8697590f62e669ffb9d91ec5cdc326bf392d2922 /patches/server/0143-Entity-fromMobSpawner.patch | |
parent | 55d7f562b8da4c8196185741ebd18f58ecfd82f2 (diff) | |
download | Paper-b1f5e70075fa956e1a70bd1311c72a705896e88d.tar.gz Paper-b1f5e70075fa956e1a70bd1311c72a705896e88d.zip |
Moar 1.19 fixes (#7884)
Diffstat (limited to 'patches/server/0143-Entity-fromMobSpawner.patch')
-rw-r--r-- | patches/server/0143-Entity-fromMobSpawner.patch | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/patches/server/0143-Entity-fromMobSpawner.patch b/patches/server/0143-Entity-fromMobSpawner.patch index 71b750896e..1f7674646f 100644 --- a/patches/server/0143-Entity-fromMobSpawner.patch +++ b/patches/server/0143-Entity-fromMobSpawner.patch @@ -5,10 +5,10 @@ Subject: [PATCH] Entity#fromMobSpawner() diff --git a/src/main/java/net/minecraft/world/entity/Entity.java b/src/main/java/net/minecraft/world/entity/Entity.java -index 8af99a4b7a1e834782dd7dd9ca53263f9e90e6d0..44bcf4477ab7b6ee231a774fb2e03544af9305c3 100644 +index abfa26bf132dd2d0ef2979bac92eff87c11dd5cd..106ff6a91c557d08305250f24f82dc84e8e4b79a 100644 --- a/src/main/java/net/minecraft/world/entity/Entity.java +++ b/src/main/java/net/minecraft/world/entity/Entity.java -@@ -339,6 +339,7 @@ public abstract class Entity implements Nameable, EntityAccess, CommandSource { +@@ -338,6 +338,7 @@ public abstract class Entity implements Nameable, EntityAccess, CommandSource { // Spigot end // Paper start protected int numCollisions = 0; // Paper @@ -16,7 +16,7 @@ index 8af99a4b7a1e834782dd7dd9ca53263f9e90e6d0..44bcf4477ab7b6ee231a774fb2e03544 @javax.annotation.Nullable private org.bukkit.util.Vector origin; @javax.annotation.Nullable -@@ -1919,6 +1920,10 @@ public abstract class Entity implements Nameable, EntityAccess, CommandSource { +@@ -1918,6 +1919,10 @@ public abstract class Entity implements Nameable, EntityAccess, CommandSource { } nbt.put("Paper.Origin", this.newDoubleList(origin.getX(), origin.getY(), origin.getZ())); } @@ -27,7 +27,7 @@ index 8af99a4b7a1e834782dd7dd9ca53263f9e90e6d0..44bcf4477ab7b6ee231a774fb2e03544 // Paper end return nbt; } catch (Throwable throwable) { -@@ -2056,6 +2061,8 @@ public abstract class Entity implements Nameable, EntityAccess, CommandSource { +@@ -2055,6 +2060,8 @@ public abstract class Entity implements Nameable, EntityAccess, CommandSource { this.originWorld = originWorld; origin = new org.bukkit.util.Vector(originTag.getDouble(0), originTag.getDouble(1), originTag.getDouble(2)); } |