mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-12 16:27:47 +00:00
Fix non-passengers being tickable without checking canUpdate() (#10304)
This commit is contained in:
1 parent
b9600a27dc
commit
2e7e537029
1 file changed
+8
@@ -85,6 +85,14 @@
|
||||
}
|
||||
|
||||
}
|
||||
@@ -681,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_();
|
||||
|
||||
@@ -700,6 +_,7 @@
|
||||
return BuiltInRegistries.f_256780_.m_7981_(p_8664_.m_6095_()).toString();
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user