setEnabled

public static boolean setEnabled(boolean v)

Flip the toggle. Called from /fmm debug bedrock on|off. Returns the resulting state so the command handler can echo it back to the sender without a second read.