From 27b5c828241183fe0e0d3ddce624a6a34f2dd886 Mon Sep 17 00:00:00 2001 From: FoundationGames <43485105+FoundationGames@users.noreply.github.com> Date: Tue, 4 Jun 2024 20:33:14 -0700 Subject: [PATCH] GitHub Actions please use Java 21 --- .github/workflows/build.yml | 4 ++-- .../config/gui/screen/EBEConfigScreen.java | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 967a6f48..e3d7d934 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -5,7 +5,7 @@ jobs: build: strategy: matrix: - java: [17] + java: [21] os: [ubuntu-20.04, windows-latest] runs-on: ${{ matrix.os }} steps: @@ -23,7 +23,7 @@ jobs: - name: build run: ./gradlew build - name: capture build artifacts - if: ${{ runner.os == 'Linux' && matrix.java == '17' }} + if: ${{ runner.os == 'Linux' && matrix.java == '21' }} uses: actions/upload-artifact@v2 with: name: Artifacts diff --git a/src/main/java/foundationgames/enhancedblockentities/config/gui/screen/EBEConfigScreen.java b/src/main/java/foundationgames/enhancedblockentities/config/gui/screen/EBEConfigScreen.java index 419863a7..cab73881 100644 --- a/src/main/java/foundationgames/enhancedblockentities/config/gui/screen/EBEConfigScreen.java +++ b/src/main/java/foundationgames/enhancedblockentities/config/gui/screen/EBEConfigScreen.java @@ -58,7 +58,6 @@ protected void init() { super.init(); this.optionsWidget = new WidgetRowListWidget(this.client, this.width, this.height - 69, 34, 316, 20); - //this.optionsWidget.bac this.options.clear(); addOptions();