mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-21 12:42:26 +00:00
Fix non-passengers being tickable without checking canUpdate() (#10307)
This commit is contained in:
1 parent
38e0661f67
commit
f77fa169f8
1 file changed
+8
@@ -84,6 +84,14 @@
|
||||
}
|
||||
|
||||
}
|
||||
@@ -640,6 +_,7 @@
|
||||
return Registry.f_122826_.m_7981_(p_8648_.m_6095_()).toString();
|
||||
});
|
||||
profilerfiller.m_6174_("tickNonPassenger");
|
||||
+ if (p_8648_.canUpdate())
|
||||
p_8648_.m_8119_();
|
||||
this.m_46473_().m_7238_();
|
||||
|
||||
@@ -656,9 +_,10 @@
|
||||
++p_8664_.f_19797_;
|
||||
ProfilerFiller profilerfiller = this.m_46473_();
|
||||
|
||||
Reference in new issue
Block a user