PDA will now display mod version
This commit is contained in:
parent
388dfc016d
commit
323725be11
1 changed files with 2 additions and 0 deletions
|
@ -2,6 +2,7 @@ package techreborn.pda.pages;
|
|||
|
||||
import net.minecraft.client.Minecraft;
|
||||
import net.minecraft.client.gui.GuiButton;
|
||||
import techreborn.lib.ModInfo;
|
||||
import techreborn.pda.PageCollection;
|
||||
import techreborn.pda.util.GuiButtonTextOnly;
|
||||
|
||||
|
@ -40,6 +41,7 @@ public class ContentsPage extends TitledPage{
|
|||
((GuiButtonTextOnly) this.buttonList.get(k)).drawButton(this.mc, mouseX + offsetX, mouseY + offsetY);
|
||||
}
|
||||
}
|
||||
drawCenteredString(minecraft.fontRenderer, ttl(ModInfo.MOD_NAME + " " + ModInfo.MOD_VERSION), offsetX + 128, offsetY + 185, 848465);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue