commit
d259783ead
|
@ -52,7 +52,11 @@ public class RenderPedestal extends TileEntitySpecialRenderer
|
||||||
if (tileAltar.getStackInSlot(0) != null)
|
if (tileAltar.getStackInSlot(0) != null)
|
||||||
{
|
{
|
||||||
float scaleFactor = getGhostItemScaleFactor(tileAltar.getStackInSlot(0));
|
float scaleFactor = getGhostItemScaleFactor(tileAltar.getStackInSlot(0));
|
||||||
float rotationAngle = (float) (720.0 * (System.currentTimeMillis() & 0x3FFFL) / 0x3FFFL);
|
float rotationAngle;
|
||||||
|
if(FMLClientHandler.instance().getClient().gameSettings.fancyGraphics==true)
|
||||||
|
rotationAngle = (float) (720.0 * (System.currentTimeMillis() & 0x3FFFL) / 0x3FFFL);
|
||||||
|
else
|
||||||
|
rotationAngle = 0;
|
||||||
EntityItem ghostEntityItem = new EntityItem(tileAltar.getWorldObj());
|
EntityItem ghostEntityItem = new EntityItem(tileAltar.getWorldObj());
|
||||||
ghostEntityItem.hoverStart = 0.0F;
|
ghostEntityItem.hoverStart = 0.0F;
|
||||||
ghostEntityItem.setEntityItemStack(tileAltar.getStackInSlot(0));
|
ghostEntityItem.setEntityItemStack(tileAltar.getStackInSlot(0));
|
||||||
|
@ -244,4 +248,4 @@ public class RenderPedestal extends TileEntitySpecialRenderer
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue