From 5fc5f15cc6effe6c459e8cf33525f2c07c9f4729 Mon Sep 17 00:00:00 2001 From: sciwhiz12 Date: Fri, 25 Feb 2022 09:03:37 +0800 Subject: [PATCH] [1.16] Fix entity type in conversion event to Drowned (#8480) --- .../net/minecraft/entity/monster/ZombieEntity.java.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patches/minecraft/net/minecraft/entity/monster/ZombieEntity.java.patch b/patches/minecraft/net/minecraft/entity/monster/ZombieEntity.java.patch index ceb1dcce8e..5c07fca8bc 100644 --- a/patches/minecraft/net/minecraft/entity/monster/ZombieEntity.java.patch +++ b/patches/minecraft/net/minecraft/entity/monster/ZombieEntity.java.patch @@ -6,7 +6,7 @@ --this.field_204708_bE; - if (this.field_204708_bE < 0) { + -+ if (this.field_204708_bE < 0 && net.minecraftforge.event.ForgeEventFactory.canLivingConvert(this, EntityType.field_200725_aD, (timer) -> this.field_204708_bE = timer)) { ++ if (this.field_204708_bE < 0 && net.minecraftforge.event.ForgeEventFactory.canLivingConvert(this, EntityType.field_204724_o, (timer) -> this.field_204708_bE = timer)) { this.func_207302_dI(); } } else if (this.func_204703_dA()) {