fix te particles
This commit is contained in:
parent
828d215048
commit
a1fcaa5f67
4 changed files with 5 additions and 5 deletions
|
@ -76,11 +76,11 @@ public class BlockRenderer
|
|||
{
|
||||
case 1:
|
||||
return this.renderFluid(blockAccess, state, pos, worldRendererIn);
|
||||
|
||||
case 2:
|
||||
return false;
|
||||
case 3:
|
||||
IBakedModel ibakedmodel = this.getModelFromBlockState(state, blockAccess, pos);
|
||||
return this.renderBase(blockAccess, ibakedmodel, state, pos, worldRendererIn, !this.gm.xrayActive);
|
||||
|
||||
default:
|
||||
return false;
|
||||
}
|
||||
|
|
|
@ -93,7 +93,7 @@ public class RenderMinecart<T extends EntityCart> extends Render<T>
|
|||
int j = entity.getDisplayTileOffset();
|
||||
State iblockstate = entity.getDisplayTile();
|
||||
|
||||
if (iblockstate.getBlock().getRenderType() != -1)
|
||||
if (iblockstate.getBlock().getRenderType() == 3)
|
||||
{
|
||||
GL11.glPushMatrix();
|
||||
this.bindTexture(TextureMap.BLOCKS);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue