geforkt von Mirrors/Paper
SPIGOT-5471: Allow empty title/author for books
By: md_5 <git@md-5.net>
Dieser Commit ist enthalten in:
Ursprung
0f7b5e8049
Commit
ef9f6da935
@ -163,12 +163,12 @@ public class CraftMetaBook extends CraftMetaItem implements BookMeta {
|
||||
|
||||
@Override
|
||||
public boolean hasAuthor() {
|
||||
return !Strings.isNullOrEmpty(author);
|
||||
return this.author != null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean hasTitle() {
|
||||
return !Strings.isNullOrEmpty(title);
|
||||
return this.title != null;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren