Fixed Obfuscated Names

Fixing the obfuscated names... Was still using the names from 1.6... Fixes the tooltips not working in normal minecraft for the drain/consume.
This commit is contained in:
joshiejack 2014-06-15 04:23:47 +01:00
parent 259699dfcf
commit 3412ea5029

View file

@ -92,7 +92,7 @@ public class NEIAltarRecipeHandler extends TemplateRecipeHandler {
return (Integer) f.get(gui);
} catch (NoSuchFieldException e) {
try {
Field f = gui.getClass().getField("field_73880_f");
Field f = gui.getClass().getField("field_146294_l");
return (Integer) f.get(gui);
} catch (Exception e2) {
return 0;
@ -110,7 +110,7 @@ public class NEIAltarRecipeHandler extends TemplateRecipeHandler {
return (Integer) f.get(gui);
} catch (NoSuchFieldException e) {
try {
Field f = gui.getClass().getField("field_73881_g");
Field f = gui.getClass().getField("field_146295_m");
return (Integer) f.get(gui);
} catch (Exception e2) {
return 0;