Fixes #3776: Fixes dupe bug with cell upgrades. (#3874)

This commit is contained in:
yueh
2018-12-24 14:11:45 +01:00
committed by GitHub
parent f2f48a8d59
commit 33bc0a6a3f
2 changed files with 6 additions and 7 deletions
@@ -25,17 +25,16 @@ import net.minecraft.item.ItemStack;
import net.minecraftforge.items.IItemHandler;
import net.minecraftforge.items.IItemHandlerModifiable;
import appeng.util.Lazy;
import appeng.util.helpers.ItemHandlerUtil;
public class WrapperLazyItemHandler implements IItemHandlerModifiable
public class WrapperSupplierItemHandler implements IItemHandlerModifiable
{
private final Lazy<IItemHandler> sourceHandler;
private final Supplier<IItemHandler> sourceHandler;
public WrapperLazyItemHandler( Supplier<IItemHandler> source )
public WrapperSupplierItemHandler( Supplier<IItemHandler> source )
{
this.sourceHandler = new Lazy<>( source );
this.sourceHandler = source;
}
@Override