Fixed a bug that caused Battery Buffers to not have a tooltip

This commit is contained in:
Johannes Gäßler 2017-04-24 20:50:08 +02:00
parent 2ca81b2828
commit c2c9fad120

View file

@ -43,7 +43,7 @@ public class GT_MetaTileEntity_BasicBatteryBuffer extends GT_MetaTileEntity_Tier
@Override
public String[] getDescription() {
String[] desc = new String[mDescription.length];
String[] desc = new String[mDescription.length + 1];
System.arraycopy(mDescription, 0, desc, 0, mDescription.length);
desc[mDescription.length] = mInventory.length + " Slots";
return desc;