Fix solar panel bottom

This commit is contained in:
TheDoctorSoda 2016-02-27 23:15:03 -08:00
parent 02ff95c60c
commit 3d06e7b4e1
3 changed files with 39 additions and 10 deletions

View file

@ -53,6 +53,8 @@ public class BlockSolarPanel extends BaseTileBlock implements ITexturedBlock {
boolean isActive = state.getValue(ACTIVE);
if(side == EnumFacing.UP){
return prefix + "solar_panel_top_" + (isActive ? "on" : "off");
} else if(side==EnumFacing.DOWN){
return prefix + "machine_bottom";
}
return prefix + "solar_panel_side_" + (isActive ? "on" : "off");
}