|
23 | 23 |
|
24 | 24 | public class Detrav_MetaTileEntity_Boiler_Solar_Low extends GT_MetaTileEntity_Boiler { |
25 | 25 | public Detrav_MetaTileEntity_Boiler_Solar_Low(int aID, String aName, String aNameRegional) { |
26 | | - super(aID, aName, aNameRegional, "Steam Power by the Sun, " +(DetravConfig.SOLAR_BOILERS_LOW_STEAM / 25)+"mB/t", new ITexture[0]); |
27 | | - } |
| 26 | + super(aID, aName, aNameRegional, new String[]{ "Steam Power by the Sun, " +(DetravConfig.SOLAR_BOILERS_LOW_STEAM / 25)+"mB/t" , "This machine can not explode!" }, new ITexture[0]); } |
28 | 27 |
|
29 | | - public Detrav_MetaTileEntity_Boiler_Solar_Low(String aName, int aTier, String aDescription, ITexture[][][] aTextures) { |
30 | | - super(aName, aTier, aDescription, aTextures); |
| 28 | + public Detrav_MetaTileEntity_Boiler_Solar_Low(String aName, int aTier, String[] mDescription, ITexture[][][] aTextures) { |
| 29 | + super(aName, aTier, mDescription, aTextures); |
31 | 30 | } |
32 | 31 |
|
33 | | - @Override |
34 | | - public String[] getDescription() { |
35 | | - return new String[]{mDescription, "This machine can not explode!"}; |
36 | | - } |
37 | 32 |
|
38 | 33 | public ITexture[][][] getTextureSet(ITexture[] aTextures) { |
39 | 34 | ITexture[][][] rTextures = new ITexture[4][17][]; |
@@ -67,7 +62,7 @@ public Object getClientGUI(int aID, InventoryPlayer aPlayerInventory, IGregTechT |
67 | 62 | } |
68 | 63 |
|
69 | 64 | public MetaTileEntity newMetaEntity(IGregTechTileEntity aTileEntity) { |
70 | | - return new Detrav_MetaTileEntity_Boiler_Solar_Low(this.mName, this.mTier, this.mDescription, this.mTextures); |
| 65 | + return new Detrav_MetaTileEntity_Boiler_Solar_Low(this.mName, this.mTier, this.getDescription(), this.mTextures); |
71 | 66 | } |
72 | 67 |
|
73 | 68 | private int mRunTime = 0; |
|
0 commit comments