mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-28 07:55:53 +00:00
Fix entity type in conversion event to Drowned (#8479)
This commit is contained in:
1 parent
2ab4685149
commit
5dd3842b77
1 file changed
+1
-1
@@ -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_()) {
|
||||
|
||||
Reference in new issue
Block a user