mirror of
https://github.com/Ellpeck/PrettyPipes.git
synced 2024-11-22 11:53:29 +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