Fix tooltip whitespace

This commit is contained in:
simibubi 2021-03-30 18:56:22 +02:00
parent 9fa63743b6
commit 8a4eaef015

View File

@ -163,7 +163,7 @@ public class ItemDescription {
list.add(level);
IFormattableTextComponent genSpeed = generatorSpeed(block, rpmUnit);
if (!genSpeed.equals(""))
if (!genSpeed.getString().isEmpty())
list.add(new StringTextComponent(" ").append(genSpeed).formatted(DARK_GRAY));
}