Skip to content

Commit fe5270b

Browse files
committed
downgrade to Java 8
1 parent fdebbad commit fe5270b

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

build.gradle.kts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,14 +52,14 @@ subprojects {
5252

5353
dependencies {
5454
compileOnly("org.jetbrains:annotations:22.0.0")
55-
compileOnly("net.labymod.serverapi:core:0.1.12")
55+
compileOnly("net.labymod.serverapi:core:0.1.13")
5656
compileOnly("com.google.auto.service:auto-service:1.1.1")
5757
annotationProcessor("com.google.auto.service:auto-service:1.1.1")
5858
}
5959

6060
java {
61-
sourceCompatibility = JavaVersion.VERSION_17
62-
targetCompatibility = JavaVersion.VERSION_17
61+
sourceCompatibility = JavaVersion.VERSION_1_8
62+
targetCompatibility = JavaVersion.VERSION_1_8
6363
}
6464

6565
fun adjustArchiveFileName(property: Property<String>) {

voicechat/src/main/java/net/labymod/serverapi/integration/voicechat/model/VoiceChatMute.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,10 +99,11 @@ public boolean equals(Object o) {
9999
return true;
100100
}
101101

102-
if (!(o instanceof VoiceChatMute that)) {
102+
if (!(o instanceof VoiceChatMute)) {
103103
return false;
104104
}
105105

106+
VoiceChatMute that = (VoiceChatMute) o;
106107
return this.end == that.end && Objects.equals(this.uniqueId, that.uniqueId)
107108
&& Objects.equals(this.reason, that.reason);
108109
}

0 commit comments

Comments
 (0)