mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-25 14:34:28 +00:00
#892 Crash when botania mana tablet used as TA label.
This commit is contained in:
1 parent
6aa3d56256
commit
874e9ab5ed
1 file changed
+3
@@ -116,6 +116,9 @@ public class TravelEntitySpecialRenderer extends TileEntitySpecialRenderer {
|
||||
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 {
|
||||
|
||||
Reference in new issue
Block a user