mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-26 00:38:35 +01:00
Made Dev's Edition Text show for me
This commit is contained in:
parent
8f00c575f3
commit
45be5613b2
1 changed files with 4 additions and 3 deletions
|
@ -79,13 +79,14 @@ public class BookletUtils{
|
||||||
booklet.getFontRenderer().drawString(strg, booklet.guiLeft+booklet.xSize/2-booklet.getFontRenderer().getStringWidth(strg)/2-3, booklet.guiTop+12+booklet.getFontRenderer().FONT_HEIGHT, 0);
|
booklet.getFontRenderer().drawString(strg, booklet.guiLeft+booklet.xSize/2-booklet.getFontRenderer().getStringWidth(strg)/2-3, booklet.guiTop+12+booklet.getFontRenderer().FONT_HEIGHT, 0);
|
||||||
|
|
||||||
String version;
|
String version;
|
||||||
if(Minecraft.getMinecraft().thePlayer.getCommandSenderName().equals("dqmhose")){
|
String playerName = Minecraft.getMinecraft().thePlayer.getCommandSenderName();
|
||||||
|
if(playerName.equals("dqmhose")){
|
||||||
version = "Pants Edition";
|
version = "Pants Edition";
|
||||||
}
|
}
|
||||||
else if(Minecraft.getMinecraft().thePlayer.getCommandSenderName().equals("KittyVanCat")){
|
else if(playerName.equals("KittyVanCat")){
|
||||||
version = "Cat's Edition";
|
version = "Cat's Edition";
|
||||||
}
|
}
|
||||||
else if(Util.isDevVersion()){
|
else if(playerName.equals("Ellpeck") || Util.isDevVersion()){
|
||||||
version = "Dev's Edition";
|
version = "Dev's Edition";
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
|
|
Loading…
Reference in a new issue