Skip to content

Commit

Permalink
Fixed Quantum Computer not working as intended when specifically sele…
Browse files Browse the repository at this point in the history
…ct in the crafting menu
  • Loading branch information
pedroksl committed Dec 4, 2024
1 parent d3e3cb1 commit 73bd99e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ dependencies {
implementation "curse.maven:glodium-957920:5614731"
implementation "curse.maven:applied-energistics-2-223794:5662490"
implementation "curse.maven:ex-pattern-provider-892005:5680210"
implementation "de.mari_023:ae2wtlib_api:19.1.3-beta"
implementation "de.mari_023:ae2wtlib_api:19.1.6-beta"
implementation "software.bernie.geckolib:geckolib-neoforge-${minecraft_version}:${geckolib_version}"
compileOnly "curse.maven:emi-580555:5704405"
implementation "curse.maven:applied-flux-965012:5639620"
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ loader_version_range=[4,)
mod_id=advanced_ae
mod_name=Advanced AE
mod_license=LGPL-3.0
mod_version=1.1.8-1.21.1
mod_version=1.1.9-1.21.1
mod_group_id=net.pedroksl.advanced_ae
mod_authors=Pedroksl
mod_description=An AE2 addon that adds a lot of utilities and quality of life.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,8 @@ private void onSubmitJob(
CallbackInfoReturnable<ICraftingSubmitResult> cir,
@Local CraftingCPUCluster cpuCluster,
@Local MutableObject<UnsuitableCpus> unsuitableCpusResult) {
if (target instanceof AdvCraftingCPU advCpu) {
cir.setReturnValue(advCpu.craftingLogic.trySubmitJob(this.grid, job, src, requestingMachine));
if (target instanceof AdvCraftingCPUCluster advCpuCluster) {
cir.setReturnValue(advCpuCluster.submitJob(this.grid, job, src, requestingMachine));
} else {
var advCluster = advancedAE$findSuitableAdvCraftingCPU(job, src, unsuitableCpusResult);
if (advCluster != null) {
Expand Down

0 comments on commit 73bd99e

Please sign in to comment.