1 package net.pterodactylus.rhynodge.mergers
3 import net.pterodactylus.rhynodge.Merger
4 import net.pterodactylus.rhynodge.State
7 * [Merger] implementation that always returns the current state.
9 class LastStateMerger : Merger {
11 override fun mergeStates(previousState: State, currentState: State) = currentState.apply { trigger() }