mirror of
https://github.com/Ellpeck/PrettyPipes.git
synced 2024-12-22 15:39:22 +01:00
parent
6d5a805160
commit
26393be8b6
2 changed files with 6 additions and 0 deletions
|
@ -129,6 +129,7 @@ public class ItemFilter extends ItemStackHandler {
|
|||
public void save() {
|
||||
if (this.modified) {
|
||||
this.stack.getOrCreateTag().put("filter", this.serializeNBT());
|
||||
this.pipe.setChanged();
|
||||
this.modified = false;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -65,6 +65,11 @@ public class PipeBlockEntity extends BlockEntity implements MenuProvider, IPipeC
|
|||
public int getSlotLimit(int slot) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onContentsChanged(int slot) {
|
||||
PipeBlockEntity.this.setChanged();
|
||||
}
|
||||
};
|
||||
public final Queue<NetworkLock> craftIngredientRequests = new LinkedList<>();
|
||||
public final List<Pair<BlockPos, ItemStack>> craftResultRequests = new ArrayList<>();
|
||||
|
|
Loading…
Reference in a new issue