From e5e00b653b4dddc90bef3b3fb299fc79b12c88c3 Mon Sep 17 00:00:00 2001
From: thelooter <evekolb2204@gmail.com>
Date: Sat, 16 Sep 2023 23:18:51 +0200
Subject: [PATCH] Enforce sign line nullability when setting line with
 Adventure Method (#9689)

---
 patches/server/Adventure.patch | 1 +
 1 file changed, 1 insertion(+)

diff --git a/patches/server/Adventure.patch b/patches/server/Adventure.patch
index dcbec569e7..0ed5890a74 100644
--- a/patches/server/Adventure.patch
+++ b/patches/server/Adventure.patch
@@ -3313,6 +3313,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
 +
 +    @Override
 +    public void line(final int index, final net.kyori.adventure.text.@NotNull Component line) throws IndexOutOfBoundsException {
++        com.google.common.base.Preconditions.checkArgument(line != null, "Line cannot be null");
 +        this.loadLines();
 +        this.lines.set(index, line);
 +    }