mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-20 07:34:48 +01:00
SPIGOT-7394: Fix another issue with sendSignChange
By: md_5 <git@md-5.net>
This commit is contained in:
parent
289dcffffa
commit
ece42b939b
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue