green wolf message
This commit is contained in:
@ -35,10 +35,10 @@ public class MixinDisconnectedScreen
|
|||||||
if(!disconnectedCausedByWolfSignal) return;
|
if(!disconnectedCausedByWolfSignal) return;
|
||||||
Window window = MinecraftClient.getInstance().getWindow();
|
Window window = MinecraftClient.getInstance().getWindow();
|
||||||
TextRenderer renderer = MinecraftClient.getInstance().textRenderer;
|
TextRenderer renderer = MinecraftClient.getInstance().textRenderer;
|
||||||
String text = "sending signal " + signal + "using wolfs";
|
String text = "sending signal " + signal + " using wolfs";
|
||||||
renderer.draw(matrices, text,
|
renderer.draw(matrices, text,
|
||||||
(window.getScaledWidth() - renderer.getWidth(text)) / 2F, // centered
|
(window.getScaledWidth() - renderer.getWidth(text)) / 2F, // centered
|
||||||
(window.getScaledHeight() - reasonHeight) / 2F - 9 * 4, // 9 * 2 higher than the title which is 9 * 2 higher than the disconnect reason
|
(window.getScaledHeight() - reasonHeight) / 2F - 9 * 4, // 9 * 2 higher than the title which is 9 * 2 higher than the disconnect reason
|
||||||
Formatting.WHITE.getColorValue());
|
Formatting.GREEN.getColorValue());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user