diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index 4e126b1..501f876 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -1,6 +1,3 @@
-# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time
-# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
-
name: Java CI with Maven
on:
@@ -13,12 +10,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v3
+ - uses: actions/checkout@v4 # https://github.com/actions/checkout
- - name: Set up JDK 17
- uses: actions/setup-java@v3
+ - name: Set up JDK 21 # https://github.com/actions/setup-java
+ uses: actions/setup-java@v4
with:
- java-version: '17'
+ java-version: '21'
distribution: 'temurin'
cache: maven
diff --git a/pom.xml b/pom.xml
index 83b20a7..42b26ae 100644
--- a/pom.xml
+++ b/pom.xml
@@ -9,17 +9,23 @@
world1-6trafficlights
1.0-SNAPSHOT
-
- 17
- 17
-
-
+
+
+ org.apache.maven.plugins
+ maven-compiler-plugin
+ 3.13.0
+
+ 21
+ 21
+
+
+
org.apache.maven.plugins
maven-shade-plugin
- 3.4.1
+ 3.6.0
package
@@ -51,14 +57,14 @@
io.papermc.paper
paper-api
- 1.19.3-R0.1-SNAPSHOT
+ 1.21-R0.1-SNAPSHOT
provided
com.github.World1-6.World1-6Utils
World1-6Utils-Plugin
- 0edba07f
+ 634da50bcc
provided
diff --git a/src/main/java/com/andrew121410/mc/world16trafficlights/TrafficLight.java b/src/main/java/com/andrew121410/mc/world16trafficlights/TrafficLight.java
index 213cb15..e1c7fcb 100644
--- a/src/main/java/com/andrew121410/mc/world16trafficlights/TrafficLight.java
+++ b/src/main/java/com/andrew121410/mc/world16trafficlights/TrafficLight.java
@@ -72,7 +72,7 @@ public boolean yellow() {
if (isBanner()) {
Banner banner = (Banner) location.getBlock().getState();
List patterns = new ArrayList<>();
- patterns.add(new Pattern(DyeColor.YELLOW, PatternType.CIRCLE_MIDDLE));
+ patterns.add(new Pattern(DyeColor.YELLOW, PatternType.GLOBE)); // CIRCLE_MIDDLE
banner.setPatterns(patterns);
banner.update();
} else {