mirror of
https://github.com/Ellpeck/PrettyPipes.git
synced 2024-11-16 17:33:13 +01:00
parent
75e5106866
commit
a40389c548
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;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -66,6 +66,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