Update ThaumGogglesModule.java

This commit is contained in:
Vasco Lavos 2013-12-11 20:59:39 +00:00
parent 43db8fc5e0
commit cf00412d47

View file

@ -19,7 +19,7 @@ public class ThaumGogglesModule extends PowerModuleBase {
public ThaumGogglesModule(List<IModularItem> validItems) {
super(validItems);
try {
tcItems = Class.forName("thaumcraft.common.Config");
tcItems = Class.forName("thaumcraft.common.config.ConfigItems");
Field itemGoggles = tcItems.getField("itemGoggles");
Item goggles = (Item) itemGoggles.get(itemGoggles);
gogglesStack = new ItemStack(goggles);