allow memory card to copy encoded patterns of interfaces

This commit is contained in:
PrototypeTrousers
2022-10-12 20:42:42 -03:00
parent 4bac5f43db
commit ae3295d3c9
6 changed files with 76 additions and 5 deletions
@@ -31,6 +31,7 @@ import appeng.block.networking.BlockEnergyCell;
import appeng.me.GridAccessException;
import appeng.tile.grid.AENetworkTile;
import appeng.util.SettingsFrom;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.nbt.NBTTagCompound;
@@ -106,7 +107,7 @@ public class TileEnergyCell extends AENetworkTile implements IAEPowerStorage {
}
@Override
public void uploadSettings(final SettingsFrom from, final NBTTagCompound compound) {
public void uploadSettings(final SettingsFrom from, final NBTTagCompound compound, EntityPlayer player) {
if (from == SettingsFrom.DISMANTLE_ITEM) {
this.internalCurrentPower = compound.getDouble("internalCurrentPower");
}