Fixed: Some messages would print an empty line when set to an empty

text, instead of being disabled.
master
blablubbabc 2020-10-28 00:15:23 +01:00
parent 43f1ca57de
commit 3a39d9bc9b
2 changed files with 2 additions and 1 deletions

View File

@ -8,6 +8,7 @@ Date format: (YYYY-MM-DD)
* Fixed: Creating shopkeepers via Citizens trait failed previously if the block at the spawn location is not passable (eg. when the Citizens NPC stands on a non-full block such as carpet).
* Minor changes to handling failures when trying to create a shopkeeper via Citizens trait. We always inform the player (if there is one), log a warning and delete the trait again now.
* Config: Added some more examples for the 'name-regex' setting to the default config.
* Fixed: Some messages would print an empty line when set to an empty text, instead of being disabled.
Internal:
* Internal API: UIHandler#canOpen has an additional 'silent' flag now.

View File

@ -40,7 +40,7 @@ public class PlainText extends TextBuilder {
@Override
public boolean isPlainTextEmpty() {
return false;
return text.isEmpty();
}
// COPY