Skip to content

Commit cda67e4

Browse files
committedOct 27, 2015
Remove pageTitle
1 parent c4f187d commit cda67e4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

Diff for: ‎src/main/java/pcl/openprinter/gui/PaperGUI.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ public void drawScreen(int i, int j, float f){
103103
int offset = 100;
104104
if (stack.hasTagCompound()) {
105105
if (stack.stackTagCompound.getDouble("version") == 2.0) {
106-
drawCenteredString(mc.fontRenderer, stack.stackTagCompound.getString("pageTitle"), width / 2, height / 2 - 110, 0x000000);
106+
//drawCenteredString(mc.fontRenderer, stack.stackTagCompound.getString("pageTitle"), width / 2, height / 2 - 110, 0x000000);
107107
for (int x = 0; x <= stack.stackTagCompound.func_150296_c().size(); x++) {
108108
String output = stack.stackTagCompound.getString("line"+x);
109109
String[] parts = output.split("∞");
@@ -123,7 +123,7 @@ public void drawScreen(int i, int j, float f){
123123
}
124124
}
125125
} else {
126-
drawCenteredString(mc.fontRenderer, stack.stackTagCompound.getString("pageTitle"), width / 2, height / 2 - 110, 0x000000);
126+
//drawCenteredString(mc.fontRenderer, stack.stackTagCompound.getString("pageTitle"), width / 2, height / 2 - 110, 0x000000);
127127
for (int x = 0; x <= stack.stackTagCompound.func_150296_c().size(); x++) {
128128
String output = stack.stackTagCompound.getString("line"+x);
129129
Integer outleng = output.replaceAll("(?:§[0-9a-fk-or])+", "").length();
@@ -146,4 +146,4 @@ public void drawScreen(int i, int j, float f){
146146
}
147147
super.drawScreen(i, j, f);
148148
}
149-
}
149+
}

0 commit comments

Comments
 (0)