13
0
geforkt von Mirrors/Paper

SPIGOT-7394: Fix another issue with sendSignChange

By: md_5 <git@md-5.net>
Dieser Commit ist enthalten in:
CraftBukkit/Spigot 2023-06-15 06:45:03 +10:00
Ursprung 289dcffffa
Commit ece42b939b

Datei anzeigen

@ -695,7 +695,7 @@ public class CraftPlayer extends CraftHumanEntity implements Player {
if (lines == null) {
lines = new String[4];
}
Preconditions.checkArgument(lines.length < 4, "lines (%s) must be lower than 4", lines.length);
Preconditions.checkArgument(lines.length >= 4, "Must have at least 4 lines (%s)", lines.length);
if (getHandle().connection == null) return;