fix: Strip redundant space at flag collection (#3400)

This commit is contained in:
Yannick Lamprecht 2021-12-26 23:28:03 +01:00 committed by GitHub
parent 1f26808c7b
commit e042566bb7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2856,7 +2856,7 @@ public class Plot {
flags = MINI_MESSAGE.parse(TranslatableCaption.of("info.none").getComponent(player));
} else {
TextComponent.Builder flagBuilder = Component.text();
String prefix = " ";
String prefix = "";
for (final PlotFlag<?, ?> flag : flagCollection) {
Object value;
if (flag instanceof DoubleFlag && !Settings.General.SCIENTIFIC) {