Skip to content

Commit

Permalink
fix inventory init
Browse files Browse the repository at this point in the history
  • Loading branch information
ghzdude committed Apr 14, 2024
1 parent 030dfa3 commit 6bdc2d7
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ public class MetaTileEntityFluidHatch extends MetaTileEntityMultiblockNotifiable
public MetaTileEntityFluidHatch(ResourceLocation metaTileEntityId, int tier, boolean isExportHatch) {
super(metaTileEntityId, tier, isExportHatch);
this.fluidTank = new HatchFluidTank(getInventorySize(), this, isExportHatch);
initializeInventory(); // the fact that this has to be called twice is so dumb
this.workingEnabled = true;
if (this.hasGhostCircuitInventory()) {
this.circuitInventory = new GhostCircuitItemStackHandler(this);
Expand Down

0 comments on commit 6bdc2d7

Please sign in to comment.