Create Central Kitchen

Create Central Kitchen

8M Downloads

Enhancement of indentation in guide's tooltip

Tidy-Bear opened this issue · 0 comments

commented

Minecraft Version

1.20.1

Describe the Bug

Issue 1

image
Too much indentation of 8 (4 + 4).
缩进太多了,实际缩进有 8 格了(4 + 4)

Issue 2

image
image
Weird indentation in the hover text, comparing to CEI.
物品 hover text 中用缩进很奇怪,对比 CEI 版本的话
疑似在 else 分支中应该调用 itemName.addTo 而非 itemName.forGoggles

if (goggle) {
text.forGoggles(tooltip);
itemName.forGoggles(tooltip, 4);
} else {
text.addTo(tooltip);
itemName.forGoggles(tooltip);
}