Fixed #1227 - "Portable Grid Dupe"
This commit is contained in:
@@ -1,5 +1,8 @@
|
|||||||
# Refined Storage Changelog
|
# Refined Storage Changelog
|
||||||
|
|
||||||
|
### 1.4.7
|
||||||
|
- Fixed bug where Portable Grid would dupe in inventory (raoulvdberge)
|
||||||
|
|
||||||
### 1.4.6
|
### 1.4.6
|
||||||
- Performance improvement to network scanning (raoulvdberge)
|
- Performance improvement to network scanning (raoulvdberge)
|
||||||
- Removed debug output from 1.4.5 (raoulvdberge)
|
- Removed debug output from 1.4.5 (raoulvdberge)
|
||||||
|
@@ -224,14 +224,16 @@ public class TilePortableGrid extends TileBase implements IGrid, IPortableGrid,
|
|||||||
|
|
||||||
this.energyStorage.setEnergyStored(stack.getCapability(CapabilityEnergy.ENERGY, null).getEnergyStored());
|
this.energyStorage.setEnergyStored(stack.getCapability(CapabilityEnergy.ENERGY, null).getEnergyStored());
|
||||||
|
|
||||||
for (int i = 0; i < 4; ++i) {
|
if (stack.hasTagCompound()) {
|
||||||
RSUtils.readItems(filter, i, stack.getTagCompound());
|
for (int i = 0; i < 4; ++i) {
|
||||||
|
RSUtils.readItems(filter, i, stack.getTagCompound());
|
||||||
|
}
|
||||||
|
|
||||||
|
RSUtils.readItems(disk, 4, stack.getTagCompound());
|
||||||
|
|
||||||
|
this.redstoneMode = RedstoneMode.read(stack.getTagCompound());
|
||||||
}
|
}
|
||||||
|
|
||||||
RSUtils.readItems(disk, 4, stack.getTagCompound());
|
|
||||||
|
|
||||||
this.redstoneMode = RedstoneMode.read(stack.getTagCompound());
|
|
||||||
|
|
||||||
markDirty();
|
markDirty();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user