Skip to content

Commit 35423d7

Browse files
committed
fix #32
1 parent d48e51a commit 35423d7

6 files changed

Lines changed: 11 additions & 12 deletions

File tree

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ dependencies {
244244
additionalRuntimeClasspath shadowInclude(implementation("io.ktor:ktor-server-websockets:3.1.2"))
245245
additionalRuntimeClasspath shadowInclude(implementation("io.ktor:ktor-server-content-negotiation:3.1.2"))
246246
additionalRuntimeClasspath shadowInclude(implementation("io.ktor:ktor-serialization-kotlinx-json:3.1.2"))
247-
additionalRuntimeClasspath shadowInclude(implementation("io.ktor:ktor-server-call-logging:3.1.2"))
247+
// additionalRuntimeClasspath shadowInclude(implementation("io.ktor:ktor-server-call-logging:3.1.2"))
248248
additionalRuntimeClasspath shadowInclude(implementation("io.ktor:ktor-server-forwarded-header:3.1.2"))
249249
additionalRuntimeClasspath shadowInclude(implementation("io.ktor:ktor-server-cors:3.1.2"))
250250
additionalRuntimeClasspath shadowInclude(implementation("io.ktor:ktor-server-caching-headers:3.1.2"))

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ mod_name=Applied Web Terminal
3434
# The license of the mod. Review your options at https://choosealicense.com/. All Rights Reserved is the default.
3535
mod_license=MIT License
3636
# The mod version. See https://semver.org/
37-
mod_version=1.2.3
37+
mod_version=1.2.4
3838
# The group ID for the mod. It is only important when publishing as an artifact to a Maven repository.
3939
# This should match the base package used for the mod sources.
4040
# See https://maven.apache.org/guides/mini/guide-naming-conventions.html

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[versions]
22
registrate = "MC1.20-1.3.11"
33
jei = "15.20.0.105"
4-
ae2 = "15.3.4"
4+
ae2 = "15.4.10"
55
kotlin-version = "2.1.20"
66
ktor-version = "3.1.2"
77

src/main/kotlin/icu/takeneko/appwebterminal/support/Data.kt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,10 @@ data class MEStack(
110110
val GenericStack.meStack: MEStack
111111
get() = MEStack(this.what.serializable(), this.amount)
112112
val KeyCounter.meStacks: List<MEStack>
113-
get() = this.map { MEStack(it.key.serializable(), it.longValue) }
113+
get() {
114+
println(this)
115+
return this.map { MEStack(it.key.serializable(), it.longValue) }
116+
}
114117
}
115118
}
116119

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,10 @@
11
package icu.takeneko.appwebterminal.support.http.plugins
22

33
import io.ktor.server.application.*
4-
import io.ktor.server.plugins.calllogging.*
5-
import io.ktor.server.request.*
6-
import org.slf4j.event.Level
74

85
fun Application.configureMonitoring() {
9-
install(CallLogging) {
10-
level = Level.INFO
11-
filter { call -> call.request.path().startsWith("/") }
12-
}
6+
// install(CallLogging) {
7+
// level = Level.INFO
8+
// filter { call -> call.request.path().startsWith("/") }
9+
// }
1310
}

src/main/kotlin/icu/takeneko/appwebterminal/util/FormattingUtil.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
package icu.takeneko.appwebterminal.util
22

3-
import appeng.shaded.flatbuffers.reflection.Object
43
import com.google.common.base.CaseFormat
54
import net.minecraft.network.chat.Component
65
import net.minecraft.network.chat.ComponentContents

0 commit comments

Comments
 (0)