Skip to content

Commit

Permalink
Run spotless
Browse files Browse the repository at this point in the history
  • Loading branch information
pedroksl committed Jan 6, 2025
1 parent b7a2c30 commit e56e248
Show file tree
Hide file tree
Showing 2 changed files with 173 additions and 175 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@
import org.objectweb.asm.Opcodes;
import org.spongepowered.asm.mixin.*;
import org.spongepowered.asm.mixin.injection.At;
import org.spongepowered.asm.mixin.injection.Constant;
import org.spongepowered.asm.mixin.injection.Inject;
import org.spongepowered.asm.mixin.injection.ModifyConstant;
import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;
import org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable;
import org.spongepowered.asm.mixin.injection.callback.LocalCapture;
Expand Down Expand Up @@ -80,11 +78,11 @@ private void updateCPUClusters() {}
@Inject(
method = "onServerEndTick",
at =
@At(
value = "FIELD",
target = "Lappeng/me/service/CraftingService;lastProcessedCraftingLogicChangeTick:J",
opcode = Opcodes.GETFIELD,
ordinal = 0),
@At(
value = "FIELD",
target = "Lappeng/me/service/CraftingService;lastProcessedCraftingLogicChangeTick:J",
opcode = Opcodes.GETFIELD,
ordinal = 0),
locals = LocalCapture.CAPTURE_FAILHARD)
private void tickAdvClusters1(CallbackInfo ci, long latestChange) {
long latestChangeLocal = 0;
Expand All @@ -106,12 +104,12 @@ private void tickAdvClusters1(CallbackInfo ci, long latestChange) {
@Inject(
method = "onServerEndTick",
at =
@At(
value = "FIELD",
target =
"Lappeng/me/service/CraftingService;interests:Lcom/google/common/collect/Multimap;",
opcode = Opcodes.GETFIELD,
ordinal = 0))
@At(
value = "FIELD",
target =
"Lappeng/me/service/CraftingService;interests:Lcom/google/common/collect/Multimap;",
opcode = Opcodes.GETFIELD,
ordinal = 0))
private void tickAdvClusters2(CallbackInfo ci) {
for (var cluster : this.advancedAE$advCraftingCPUClusters) {
if (cluster != null) {
Expand Down
Loading

0 comments on commit e56e248

Please sign in to comment.