Ad Astra

Ad Astra

23M Downloads

[Bug]: can't start server

233laoliu opened this issue ยท 4 comments

commented

Bug Description

https://mclo.gs/DvYAWKw
https://mclo.gs/N79RHJU

How to Reproduce?

No response

Expected Behavior

No response

Version

1.15.18

Mod Loader Version

1.20.1 0.16.5

Mod Loader

Fabric

Logs or additional context

No response

Code of Conduct

  • I have searched the issue tracker and confirmed that the issue has not been reported
  • I have checked the FAQ (if one is present) and my issue is not listed
  • I have verified that I am using the latest version of the mod
  • I have verified that I have installed all the required dependencies for the mod
  • I have verified that I do not have Optifine installed. We will close issues if we detect Optifine is in your pack. We cannot fix Optifine issues. Please do not report issues with Optifine present.
commented

This appears to be an error with the Giselle Ad Astra addon, not Ad Astra itself.
See [line 574 of the latest.log] (https://mclo.gs/N79RHJU#L574)

commented

Fuel Loader was called Ad Astra's method, and exception was throwned at there.
So, This is meaning Ad astra can occured same issue with this. (FuelRefinery, OxygenLoader, OxygenDistributor)

public static void pullFluidNearby(ContainerMachineBlockEntity machine, BlockPos pos, WrappedBlockFluidContainer container, long amount, int tank, ConfigurationEntry sideConfig, Predicate<Direction> filter) {
for (var entry : sideConfig.sides().entrySet()) {
Configuration configuration = entry.getValue();
if (!configuration.canPull()) continue;
Direction direction = ModUtils.relative(machine, entry.getKey());
if (!filter.test(direction)) continue;
BlockEntity nearbyEntity = machine.level().getBlockEntity(pos.relative(direction));
if (nearbyEntity == null) continue;
if (!FluidContainer.holdsFluid(nearbyEntity, direction)) continue;
FluidContainer nearbyContainer = FluidContainer.of(nearbyEntity, direction.getOpposite());
if (nearbyContainer == null) continue;
FluidHolder holder = nearbyContainer.getFluids().get(tank);
if (holder.isEmpty()) continue;
if (FluidApi.moveFluid(nearbyContainer, container, FluidHolder.ofMillibuckets(holder.getFluid(), amount), false) > 0) {
machine.sync();
}
}
}

commented

This appears to be an error with the Giselle Ad Astra addon, not Ad Astra itself. See [line 574 of the latest.log] (https://mclo.gs/N79RHJU#L574)

ok thank you