From 5dd3842b7740dcf2d10b365a752c945845e07e17 Mon Sep 17 00:00:00 2001 From: sciwhiz12 Date: Fri, 25 Feb 2022 08:49:48 +0800 Subject: [PATCH] Fix entity type in conversion event to Drowned (#8479) --- .../net/minecraft/world/entity/monster/Zombie.java.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patches/minecraft/net/minecraft/world/entity/monster/Zombie.java.patch b/patches/minecraft/net/minecraft/world/entity/monster/Zombie.java.patch index ea78360ff0..b2ae80fb33 100644 --- a/patches/minecraft/net/minecraft/world/entity/monster/Zombie.java.patch +++ b/patches/minecraft/net/minecraft/world/entity/monster/Zombie.java.patch @@ -5,7 +5,7 @@ if (this.m_34329_()) { --this.f_34266_; - if (this.f_34266_ < 0) { -+ if (this.f_34266_ < 0 && net.minecraftforge.event.ForgeEventFactory.canLivingConvert(this, EntityType.f_20501_, (timer) -> this.f_34266_ = timer)) { ++ if (this.f_34266_ < 0 && net.minecraftforge.event.ForgeEventFactory.canLivingConvert(this, EntityType.f_20562_, (timer) -> this.f_34266_ = timer)) { this.m_7595_(); } } else if (this.m_7593_()) {