From e9186c1cc97846d1208291114d207c6483f002b3 Mon Sep 17 00:00:00 2001 From: 90 <90@national.shitposting.agency> Date: Wed, 21 Dec 2022 15:02:56 +0000 Subject: [PATCH] ack --- .github/workflows/release.yml | 2 ++ .../src/main/java/gripe/_90/megacells/item/MEGABulkCell.java | 5 ----- .../java/gripe/_90/megacells/util/FabricPlatformHelper.java | 2 +- .../integration/appmek/item/MEGARadioactiveCell.java | 5 ----- .../gripe/_90/megacells/util/forge/ForgePlatformHelper.java | 2 +- 5 files changed, 4 insertions(+), 12 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5f3be525..e7d57759 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -17,6 +17,8 @@ jobs: uses: actions/setup-java@v3 with: java-version: 17 + distribution: 'temurin' + cache: 'gradle' - name: Grant execute permission for gradlew run: chmod +x gradlew - name: Generate data diff --git a/common/src/main/java/gripe/_90/megacells/item/MEGABulkCell.java b/common/src/main/java/gripe/_90/megacells/item/MEGABulkCell.java index 5dab80cf..b1e9ad06 100644 --- a/common/src/main/java/gripe/_90/megacells/item/MEGABulkCell.java +++ b/common/src/main/java/gripe/_90/megacells/item/MEGABulkCell.java @@ -27,11 +27,6 @@ public MEGABulkCell(Properties properties) { super(properties.stacksTo(1)); } - @Override - public boolean isEditable(ItemStack itemStack) { - return true; - } - @Override public ConfigInventory getConfigInventory(ItemStack is) { return CellConfig.create(AEItemKey.filter(), is, 1); diff --git a/fabric/src/main/java/gripe/_90/megacells/util/FabricPlatformHelper.java b/fabric/src/main/java/gripe/_90/megacells/util/FabricPlatformHelper.java index 7827bf01..7535b38f 100644 --- a/fabric/src/main/java/gripe/_90/megacells/util/FabricPlatformHelper.java +++ b/fabric/src/main/java/gripe/_90/megacells/util/FabricPlatformHelper.java @@ -8,7 +8,7 @@ import gripe._90.megacells.definition.MEGAItems; import gripe._90.megacells.util.service.IPlatformHelper; -public class FabricPlatformHelper implements IPlatformHelper { +public final class FabricPlatformHelper implements IPlatformHelper { @Override public CreativeModeTab getCreativeTab() { return FabricItemGroupBuilder.build(Utils.makeId("tab"), diff --git a/forge/src/main/java/gripe/_90/megacells/integration/appmek/item/MEGARadioactiveCell.java b/forge/src/main/java/gripe/_90/megacells/integration/appmek/item/MEGARadioactiveCell.java index a483c479..d1dac4f3 100644 --- a/forge/src/main/java/gripe/_90/megacells/integration/appmek/item/MEGARadioactiveCell.java +++ b/forge/src/main/java/gripe/_90/megacells/integration/appmek/item/MEGARadioactiveCell.java @@ -26,11 +26,6 @@ public MEGARadioactiveCell(Properties properties) { super(properties.stacksTo(1)); } - @Override - public boolean isEditable(ItemStack itemStack) { - return true; - } - public ConfigInventory getConfigInventory(ItemStack is) { return CellConfig.create(MekanismKeyType.TYPE.filter(), is, 1); } diff --git a/forge/src/main/java/gripe/_90/megacells/util/forge/ForgePlatformHelper.java b/forge/src/main/java/gripe/_90/megacells/util/forge/ForgePlatformHelper.java index 29ac4c04..8b3176f7 100644 --- a/forge/src/main/java/gripe/_90/megacells/util/forge/ForgePlatformHelper.java +++ b/forge/src/main/java/gripe/_90/megacells/util/forge/ForgePlatformHelper.java @@ -12,7 +12,7 @@ import gripe._90.megacells.util.Utils; import gripe._90.megacells.util.service.IPlatformHelper; -public class ForgePlatformHelper implements IPlatformHelper { +public final class ForgePlatformHelper implements IPlatformHelper { @Override public CreativeModeTab getCreativeTab() { return new CreativeModeTab(Utils.MODID + ".tab") {