mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-04 07:17:46 +01:00
[ci skip] shuffle patches and rebuild
This commit is contained in:
parent
60161bb02c
commit
bf718e5334
@ -1,19 +0,0 @@
|
|||||||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Doc <nachito94@msn.com>
|
|
||||||
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 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
|
||||||
--- a/src/main/java/net/minecraft/world/level/block/FrogspawnBlock.java
|
|
||||||
+++ b/src/main/java/net/minecraft/world/level/block/FrogspawnBlock.java
|
|
||||||
@@ -0,0 +0,0 @@ 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
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user