Fix renderGoalXZBeacon path rendering incorrect color

This commit is contained in:
Brady 2019-02-19 21:00:14 -06:00
parent 66356d5334
commit 70d216b29f
No known key found for this signature in database
GPG Key ID: 73A788379A197567
1 changed files with 4 additions and 0 deletions

View File

@ -295,6 +295,8 @@ public final class PathRenderer implements Helper {
GoalXZ goalPos = (GoalXZ) goal;
if (Baritone.settings().renderGoalXZBeacon.get()) {
glPushAttrib(GL_LIGHTING_BIT);
mc.getTextureManager().bindTexture(TileEntityBeaconRenderer.TEXTURE_BEACON_BEAM);
if (Baritone.settings().renderGoalIgnoreDepth.get()) {
@ -316,6 +318,8 @@ public final class PathRenderer implements Helper {
if (Baritone.settings().renderGoalIgnoreDepth.get()) {
GlStateManager.enableDepth();
}
glPopAttrib();
return;
}