mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-13 16:54:06 +00:00
Fixed the Brewery's rendering going all over the place if you placed a block on it.
This commit is contained in:
1 parent
63685de43a
commit
319b69e203
1 file changed
+2
@@ -80,7 +80,9 @@ public class RenderTileBrewery extends TileEntitySpecialRenderer {
|
||||
if(stack.getItem() instanceof ItemBlock && RenderBlocks.renderItemIn3d(Block.getBlockFromItem(stack.getItem()).getRenderType())) {
|
||||
GL11.glScalef(0.5F, 0.5F, 0.5F);
|
||||
GL11.glTranslatef(1F, 1.1F, 0F);
|
||||
GL11.glPushMatrix();
|
||||
RenderBlocks.getInstance().renderBlockAsItem(Block.getBlockFromItem(stack.getItem()), stack.getItemDamage(), 1F);
|
||||
GL11.glPopMatrix();
|
||||
GL11.glTranslatef(-1F, -1.1F, 0F);
|
||||
GL11.glScalef(2F, 2F, 2F);
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user