package openeye.notes.entries;

import openeye.notes.NoteCategory;
import openeye.notes.WrappedChatComponent;
import openeye.responses.ResponseKnownCrash;

import com.google.common.base.Strings;

public class ResolvedCrashEntry extends NoteEntry {
	private final String url;
	private final String note;

	public ResolvedCrashEntry(ResponseKnownCrash msg) {
		super(NoteCategory.RESOLVED_CRASH, 64);
		this.url = msg.url;
		this.note = msg.note;
	}

	@Override
	public WrappedChatComponent title() {
		return WrappedChatComponent.createTranslation("openeye.notes.title.resolved_crash");
	}

	@Override
	public WrappedChatComponent content() {
		return WrappedChatComponent.createTranslation(Strings.nullToEmpty(note));
	}

	@Override
	public String url() {
		return url;
	}
}
@@ -672,26 +672,19 @@
 .createT
-ranslation
+ext
 (Strings
@@ -760,8 +760,9 @@
 rl;%0A%09%7D%0A%7D
+%0A

Derp No. 1