Fixed Grid Filter only updating the Grid when reopening the GUI
This commit is contained in:
@@ -3,12 +3,17 @@
|
|||||||
### 0.9
|
### 0.9
|
||||||
**Bugfixes**
|
**Bugfixes**
|
||||||
- Fixed crash with Grid
|
- Fixed crash with Grid
|
||||||
|
- Fixed Grid Filter only updating the Grid when reopening the GUI
|
||||||
- Priority field and detector amount field can now display 4 digits at a time
|
- Priority field and detector amount field can now display 4 digits at a time
|
||||||
|
|
||||||
**Features**
|
**Features**
|
||||||
- Added fluid storage
|
- Added fluid storage
|
||||||
- Energy usage of Wireless Grid is now configurable
|
- Energy usage of Wireless Grid is now configurable
|
||||||
|
|
||||||
|
### 0.8.20
|
||||||
|
**Bugfixes**
|
||||||
|
- Fixed crash with Grid
|
||||||
|
|
||||||
### 0.8.19
|
### 0.8.19
|
||||||
**Bugfixes**
|
**Bugfixes**
|
||||||
- Fixed item duplication bug with External Storage
|
- Fixed item duplication bug with External Storage
|
||||||
|
@@ -39,7 +39,7 @@ public class CraftingTaskScheduler {
|
|||||||
tile.markDirty();
|
tile.markDirty();
|
||||||
}
|
}
|
||||||
|
|
||||||
public void writeToNBT(NBTTagCompound tag) {
|
public void write(NBTTagCompound tag) {
|
||||||
if (scheduledItem != null) {
|
if (scheduledItem != null) {
|
||||||
tag.setTag(NBT_SCHEDULED, scheduledItem.serializeNBT());
|
tag.setTag(NBT_SCHEDULED, scheduledItem.serializeNBT());
|
||||||
} else {
|
} else {
|
||||||
|
@@ -1,8 +1,11 @@
|
|||||||
package refinedstorage.inventory;
|
package refinedstorage.inventory;
|
||||||
|
|
||||||
import net.minecraft.item.ItemStack;
|
import net.minecraft.item.ItemStack;
|
||||||
|
import net.minecraftforge.fml.common.FMLCommonHandler;
|
||||||
|
import net.minecraftforge.fml.relauncher.Side;
|
||||||
import refinedstorage.RefinedStorageItems;
|
import refinedstorage.RefinedStorageItems;
|
||||||
import refinedstorage.gui.grid.GridFilteredItem;
|
import refinedstorage.gui.grid.GridFilteredItem;
|
||||||
|
import refinedstorage.gui.grid.GuiGrid;
|
||||||
import refinedstorage.item.ItemGridFilter;
|
import refinedstorage.item.ItemGridFilter;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
@@ -37,5 +40,9 @@ public class ItemHandlerGridFilterInGrid extends ItemHandlerBasic {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (FMLCommonHandler.instance().getSide() == Side.CLIENT) {
|
||||||
|
GuiGrid.markForSorting();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -162,7 +162,7 @@ public class TileConstructor extends TileMultipartNode implements IComparable, I
|
|||||||
writeItems(upgrades, 1, tag);
|
writeItems(upgrades, 1, tag);
|
||||||
writeItems(fluidFilters, 2, tag);
|
writeItems(fluidFilters, 2, tag);
|
||||||
|
|
||||||
scheduler.writeToNBT(tag);
|
scheduler.write(tag);
|
||||||
|
|
||||||
return tag;
|
return tag;
|
||||||
}
|
}
|
||||||
|
@@ -148,7 +148,7 @@ public class TileExporter extends TileMultipartNode implements IComparable, ITyp
|
|||||||
writeItems(upgrades, 1, tag);
|
writeItems(upgrades, 1, tag);
|
||||||
writeItems(fluidFilters, 2, tag);
|
writeItems(fluidFilters, 2, tag);
|
||||||
|
|
||||||
scheduler.writeToNBT(tag);
|
scheduler.write(tag);
|
||||||
|
|
||||||
return tag;
|
return tag;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user