Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: can't start server #649

Open
5 tasks done
233laoliu opened this issue Nov 15, 2024 · 4 comments
Open
5 tasks done

[Bug]: can't start server #649

233laoliu opened this issue Nov 15, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@233laoliu
Copy link

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.
@233laoliu 233laoliu added the bug Something isn't working label Nov 15, 2024
@ChiefArug
Copy link

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)

@233laoliu
Copy link
Author

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

@233laoliu
Copy link
Author

@233laoliu
Copy link
Author

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();
}
}
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants