From 45be5613b216e4d09dd3747fcc120999bb5a6954 Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Fri, 18 Dec 2015 15:46:38 +0100 Subject: [PATCH] Made Dev's Edition Text show for me --- .../ellpeck/actuallyadditions/booklet/BookletUtils.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/main/java/ellpeck/actuallyadditions/booklet/BookletUtils.java b/src/main/java/ellpeck/actuallyadditions/booklet/BookletUtils.java index 5013906f3..a236a6e6f 100644 --- a/src/main/java/ellpeck/actuallyadditions/booklet/BookletUtils.java +++ b/src/main/java/ellpeck/actuallyadditions/booklet/BookletUtils.java @@ -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); String version; - if(Minecraft.getMinecraft().thePlayer.getCommandSenderName().equals("dqmhose")){ + String playerName = Minecraft.getMinecraft().thePlayer.getCommandSenderName(); + if(playerName.equals("dqmhose")){ version = "Pants Edition"; } - else if(Minecraft.getMinecraft().thePlayer.getCommandSenderName().equals("KittyVanCat")){ + else if(playerName.equals("KittyVanCat")){ version = "Cat's Edition"; } - else if(Util.isDevVersion()){ + else if(playerName.equals("Ellpeck") || Util.isDevVersion()){ version = "Dev's Edition"; } else{