Skip to content

Commit 6f9bcd3

Browse files
authored
Fix Large Tank controller not invalidating capabilities on formation (#1160)
1 parent fcbcb15 commit 6f9bcd3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/aztech/modern_industrialization/machines/blockentities/multiblocks/LargeTankMultiblockBlockEntity.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,7 @@ protected void onRematch(ShapeMatcher shapeMatcher) {
250250
long capacity = getCapacityFromComponents(getXComponent(index), getYComponent(index), getZComponent(index));
251251
fluidStorage.setCapacity(capacity);
252252

253+
invalidateCapabilities();
253254
for (var hatch : shapeMatcher.getMatchedHatches()) {
254255
if (hatch instanceof LargeTankHatch tankHatch) {
255256
tankHatch.setController(this);

0 commit comments

Comments
 (0)