diff --git a/src/main/java/com/minelittlepony/common/client/gui/sprite/TextureSprite.java b/src/main/java/com/minelittlepony/common/client/gui/sprite/TextureSprite.java index 930b31f0..499ff6f0 100644 --- a/src/main/java/com/minelittlepony/common/client/gui/sprite/TextureSprite.java +++ b/src/main/java/com/minelittlepony/common/client/gui/sprite/TextureSprite.java @@ -3,6 +3,7 @@ import com.minelittlepony.common.client.gui.dimension.Bounds; import net.minecraft.client.gui.DrawContext; import net.minecraft.client.render.RenderLayer; +import net.minecraft.util.Colors; import net.minecraft.util.Identifier; public class TextureSprite implements ISprite { @@ -52,10 +53,10 @@ public void render(DrawContext context, int x, int y, int mouseX, int mouseY, fl RenderLayer::getGuiTextured, texture, x + bounds.left, y + bounds.top, - 0, textureBounds.left, textureBounds.top, bounds.width, bounds.height, - textureBounds.width, textureBounds.height); + textureBounds.width, textureBounds.height, + Colors.WHITE); } @Override