mirror of
https://hub.spigotmc.org/stash/scm/spigot/craftbukkit.git
synced 2025-08-31 22:30:15 +00:00
SPIGOT-7394: Fix another issue with sendSignChange
This commit is contained in:
parent
66c5ce4c7b
commit
ad6d0cffbe
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…
Add table
Reference in a new issue