package com.projectswg.holocore.resources.support.global.commands.callbacks.flags;

import com.projectswg.holocore.resources.support.global.commands.ICmdCallback;
import com.projectswg.holocore.resources.support.global.player.Player;
import com.projectswg.holocore.resources.support.global.player.PlayerFlags;
import com.projectswg.holocore.resources.support.objects.swg.SWGObject;
import org.jetbrains.annotations.NotNull;

public final class CmdToggleDisplayingFactionRank implements ICmdCallback {
	
	@Override
	public void execute(@NotNull Player player, SWGObject target, @NotNull String args) {
		player.getPlayerObject().toggleFlag(PlayerFlags.FACTIONRANK);
	}
	
}
