The Sabah assembly has finally passed a law to stop party hopping in the state, with 75 out of the 79 assemblymen present giving their full support for the bill.