From bd496d0e0ddd5b4ec7702fde28e0fe9b4b703e0f Mon Sep 17 00:00:00 2001 From: Shane Freeder Date: Wed, 28 Sep 2022 04:27:26 +0100 Subject: [PATCH] [ci skip] shuffle patches and rebuild --- ...son-to-Tadpoles-spawned-by-Frogspawn.patch | 19 ------------------- ...nd-additions-to-the-SpawnReason-API.patch} | 0 2 files changed, 19 deletions(-) delete mode 100644 patches/server/0886-Add-SpawnReason-to-Tadpoles-spawned-by-Frogspawn.patch rename patches/server/{0917-Fixes-and-additions-to-the-SpawnReason-API.patch => 0886-Fixes-and-additions-to-the-SpawnReason-API.patch} (100%) diff --git a/patches/server/0886-Add-SpawnReason-to-Tadpoles-spawned-by-Frogspawn.patch b/patches/server/0886-Add-SpawnReason-to-Tadpoles-spawned-by-Frogspawn.patch deleted file mode 100644 index dd94178b5..000000000 --- a/patches/server/0886-Add-SpawnReason-to-Tadpoles-spawned-by-Frogspawn.patch +++ /dev/null @@ -1,19 +0,0 @@ -From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 -From: Doc -Date: Wed, 20 Jul 2022 12:07:36 -0400 -Subject: [PATCH] Add SpawnReason to Tadpoles spawned by Frogspawn - - -diff --git a/src/main/java/net/minecraft/world/level/block/FrogspawnBlock.java b/src/main/java/net/minecraft/world/level/block/FrogspawnBlock.java -index af7f77fb9fdf27509499f9d35fd42a6a50bf9cb0..e1d8ababdb992821cc0ac383c13f1f4d10b09107 100644 ---- a/src/main/java/net/minecraft/world/level/block/FrogspawnBlock.java -+++ b/src/main/java/net/minecraft/world/level/block/FrogspawnBlock.java -@@ -103,7 +103,7 @@ public class FrogspawnBlock extends Block { - int k = random.nextInt(1, 361); - tadpole.moveTo(d, (double)pos.getY() - 0.5D, e, (float)k, 0.0F); - tadpole.setPersistenceRequired(); -- world.addFreshEntity(tadpole); -+ world.addFreshEntity(tadpole, org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason.EGG); // Paper - } - - } diff --git a/patches/server/0917-Fixes-and-additions-to-the-SpawnReason-API.patch b/patches/server/0886-Fixes-and-additions-to-the-SpawnReason-API.patch similarity index 100% rename from patches/server/0917-Fixes-and-additions-to-the-SpawnReason-API.patch rename to patches/server/0886-Fixes-and-additions-to-the-SpawnReason-API.patch