Skip to content

Commit

Permalink
Remove unused access widener
Browse files Browse the repository at this point in the history
  • Loading branch information
QPCrummer committed Dec 26, 2024
1 parent b74378d commit 6909867
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 8 deletions.
4 changes: 0 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,6 @@ dependencies {
include(implementation("com.moulberry:mixinconstraints:1.0.2"))
}

loom {
accessWidenerPath.set("src/main/resources/act.accesswidener" as File)
}

processResources {
inputs.property "version", project.version

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import com.github.tatercertified.fabricautocrafter.AutoCraftingTableContainer;
import com.moulberry.mixinconstraints.annotations.IfModLoaded;
import net.caffeinemc.mods.lithium.common.block.entity.SleepingBlockEntity;
import org.spongepowered.asm.mixin.Final;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.Shadow;
import org.spongepowered.asm.mixin.injection.At;
Expand All @@ -14,8 +15,9 @@
@Mixin(AutoCraftingTableContainer.class)
public class LithiumSleepControlMixin {

@Final
@Shadow
AutoCraftingTableBlockEntity blockEntity;
private AutoCraftingTableBlockEntity blockEntity;

@Inject(method = "onContentChanged", at = @At("TAIL"))
public void injectSleep(CallbackInfo ci) {
Expand Down
2 changes: 0 additions & 2 deletions src/main/resources/act.accesswidener

This file was deleted.

1 change: 0 additions & 1 deletion src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
"mixins": [
"autocrafter.mixins.json"
],
"accessWidener": "act.accesswidener",
"depends": {
"fabricloader": "*",
"fabric": "*",
Expand Down

0 comments on commit 6909867

Please sign in to comment.