[1.16] Fix entity type in conversion event to Drowned (#8480)

This commit is contained in:
sciwhiz12 authored and GitHub committed 2022-02-25 01:03:37 +00:00
1 parent cae822ced9
commit 5fc5f15cc6
1 file changed
+1 -1
@@ -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()) {