Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement of indentation in guide's tooltip #96

Open
Tidy-Bear opened this issue Jul 30, 2024 · 0 comments
Open

Enhancement of indentation in guide's tooltip #96

Tidy-Bear opened this issue Jul 30, 2024 · 0 comments
Labels
bug Something isn't working triage

Comments

@Tidy-Bear
Copy link

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);
}

@Tidy-Bear Tidy-Bear added bug Something isn't working triage labels Jul 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage
Projects
None yet
Development

No branches or pull requests

1 participant