← contested methods

CarScript.OnContact

base class · 27 subclasses · vanilla source

Mods hooking it
14
Drop the chain
8
Pairs at odds on this method
28

8 drop the chain

Override without super(): vanilla's code here, and every earlier-loaded mod's, never runs. With two of these on one server, only the one that loads later has its version run.

2 call super() on some paths

The chain continues unless the mod returns early; whether that matters depends on the condition.

4 keep the chain

Always calls super(): these stack with each other and with vanilla.

Each mod's latest analyzed version, counted once by its weakest override of this method. Dropping the chain is often the point of a mod; this shows where mods collide, not who is wrong. Compose your stack to check the mods you run.