mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-26 14:52:58 +00:00
Dynamic Tanks are now server friendly, closes #2690
This commit is contained in:
1 parent
81511d3800
commit
b9f80c0365
4 files changed
+89
-58
No files matched your search
@@ -73,23 +73,20 @@ public class RenderDynamicTank extends TileEntitySpecialRenderer
|
||||
|
||||
pop();
|
||||
|
||||
for(ValveData valveData : tileEntity.valveViewing.keySet())
|
||||
for(ValveData valveData : tileEntity.valveViewing)
|
||||
{
|
||||
if(tileEntity.valveViewing.get(valveData) > 0)
|
||||
{
|
||||
push();
|
||||
push();
|
||||
|
||||
GL11.glTranslated(getX(valveData.location.xCoord), getY(valveData.location.yCoord), getZ(valveData.location.zCoord));
|
||||
GL11.glTranslated(getX(valveData.location.xCoord), getY(valveData.location.yCoord), getZ(valveData.location.zCoord));
|
||||
|
||||
MekanismRenderer.glowOn(tileEntity.structure.fluidStored.getFluid().getLuminosity());
|
||||
MekanismRenderer.glowOn(tileEntity.structure.fluidStored.getFluid().getLuminosity());
|
||||
|
||||
getValveDisplay(ValveRenderData.get(data, valveData), tileEntity.structure.fluidStored.getFluid(), tileEntity.getWorldObj()).render();
|
||||
getValveDisplay(ValveRenderData.get(data, valveData), tileEntity.structure.fluidStored.getFluid(), tileEntity.getWorldObj()).render();
|
||||
|
||||
MekanismRenderer.glowOff();
|
||||
MekanismRenderer.resetColor();
|
||||
MekanismRenderer.glowOff();
|
||||
MekanismRenderer.resetColor();
|
||||
|
||||
pop();
|
||||
}
|
||||
pop();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user