package eu.mhsl.minenet.minigames.message.type;

import eu.mhsl.minenet.minigames.message.TranslatableMessage;
import net.minestom.server.entity.Player;

import javax.management.RuntimeErrorException;

public class SubtitleMessage extends TranslatableMessage {
    @Override
    public void send(Player p) {
        throw new RuntimeErrorException(new Error("Cannot send subtitle-only to player"));
    }
}
