fix: HUD画之前调nextStratum(原版计分板也这么做,否则不渲染)
This commit is contained in:
1 parent
8576395126
commit
2097a241aa
1 file changed
+3
@@ -41,6 +41,9 @@ public class BoardHudElement implements HudElement {
|
||||
}
|
||||
Font font = mc.font;
|
||||
|
||||
// 关键:进入新的渲染层,否则画的内容不显示
|
||||
g.nextStratum();
|
||||
|
||||
String title = BoardClientState.currentTitle();
|
||||
int maxW = font.width(title);
|
||||
for (BoardClientState.Entry e : list) {
|
||||
|
||||
Reference in new issue
Block a user