mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-14 01:04:24 +00:00
Fix non-passengers being tickable without checking canUpdate() (#10305)
This commit is contained in:
1 parent
9b47c8647f
commit
5122b0bc3c
1 file changed
+8
@@ -84,6 +84,14 @@
|
||||
}
|
||||
|
||||
}
|
||||
@@ -659,6 +_,7 @@
|
||||
return BuiltInRegistries.f_256780_.m_7981_(p_8648_.m_6095_()).toString();
|
||||
});
|
||||
profilerfiller.m_6174_("tickNonPassenger");
|
||||
+ if (p_8648_.canUpdate())
|
||||
p_8648_.m_8119_();
|
||||
this.m_46473_().m_7238_();
|
||||
|
||||
@@ -678,6 +_,7 @@
|
||||
return BuiltInRegistries.f_256780_.m_7981_(p_8664_.m_6095_()).toString();
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user