Update ThaumGogglesModule.java
This commit is contained in:
parent
43db8fc5e0
commit
cf00412d47
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ public class ThaumGogglesModule extends PowerModuleBase {
|
||||||
public ThaumGogglesModule(List<IModularItem> validItems) {
|
public ThaumGogglesModule(List<IModularItem> validItems) {
|
||||||
super(validItems);
|
super(validItems);
|
||||||
try {
|
try {
|
||||||
tcItems = Class.forName("thaumcraft.common.Config");
|
tcItems = Class.forName("thaumcraft.common.config.ConfigItems");
|
||||||
Field itemGoggles = tcItems.getField("itemGoggles");
|
Field itemGoggles = tcItems.getField("itemGoggles");
|
||||||
Item goggles = (Item) itemGoggles.get(itemGoggles);
|
Item goggles = (Item) itemGoggles.get(itemGoggles);
|
||||||
gogglesStack = new ItemStack(goggles);
|
gogglesStack = new ItemStack(goggles);
|
||||||
|
|
Loading…
Reference in a new issue