Skip to content

Commit

Permalink
SleepyTrousers#892 Crash when botania mana tablet used as TA label.
Browse files Browse the repository at this point in the history
  • Loading branch information
CrazyPants committed Aug 18, 2014
1 parent 6aa3d56 commit 874e9ab
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,9 @@ private void renderLabel(TileEntity tileentity, double x, double y, double z, IT
GL14.glBlendColor(1.0f, 1.0f, 1.0f, 0.5f);

IIcon tex = itemLabel.getIconIndex();
if(tex == null) {
return;
}
if(itemLabel.getItemSpriteNumber() == 0) {
RenderUtil.bindBlockTexture();
} else {
Expand Down

0 comments on commit 874e9ab

Please sign in to comment.