Skip to content

Commit becee40

Browse files
finshopewang
andauthored
Fix research station cannot reserach. (#3994)
Co-authored-by: wang <[email protected]>
1 parent 2b820fb commit becee40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/gregtechceu/gtceu/api/machine/trait/NotifiableComputationContainer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ private IOpticalComputationProvider getOpticalNetProvider() {
265265
for (Direction direction : GTUtil.DIRECTIONS) {
266266
BlockEntity blockEntity = machine.getLevel().getBlockEntity(machine.getPos().relative(direction));
267267
if (blockEntity instanceof OpticalPipeBlockEntity) {
268-
machine.getLevel().getCapability(GTCapability.CAPABILITY_COMPUTATION_PROVIDER,
268+
return machine.getLevel().getCapability(GTCapability.CAPABILITY_COMPUTATION_PROVIDER,
269269
blockEntity.getBlockPos(), blockEntity.getBlockState(), blockEntity, direction.getOpposite());
270270
}
271271
}

0 commit comments

Comments
 (0)