Skip to content

Commit

Permalink
Update to 1.20.5-rc2
Browse files Browse the repository at this point in the history
  • Loading branch information
andantet committed Apr 20, 2024
1 parent d097e70 commit c7ccc05
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 12 deletions.
3 changes: 1 addition & 2 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//file:noinspection All

plugins {
id "fabric-loom" version "1.5-SNAPSHOT"
id "fabric-loom" version "1.6-SNAPSHOT"
id "org.jetbrains.kotlin.jvm"
id "maven-publish"
}
Expand Down Expand Up @@ -44,7 +44,6 @@ dependencies {

// test
testImplementation sourceSets.main.output
testImplementation "org.apache.logging.log4j:log4j-slf4j2-impl:2.21.1"
}

loom {
Expand Down
14 changes: 7 additions & 7 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,17 @@ org.gradle.parallel=true

# Fabric Properties
# check these on https://fabricmc.net/develop
minecraft_version=23w51b
yarn_build=4
loader_version=0.15.6
minecraft_version=1.20.5-rc2
yarn_build=1
loader_version=0.15.10

# Dependencies
fabric_version=0.94.0+1.20.5
fabric_version=0.97.4+1.20.5

kotlin_version=1.9.22
fabric_kotlin_version=1.10.17+kotlin.1.9.22
kotlin_version=1.9.23
fabric_kotlin_version=1.10.19+kotlin.1.9.23

# Mod Properties
mod_version=1.1.1
mod_version=1.2.0
maven_group=net.mcbrawls
mod_id=packmanager
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ static ResourcePackSendS2CPacket createSendPacket(ServerResourcePackProperties p
properties.url(),
properties.hash(),
properties.isRequired(),
properties.prompt()
Optional.ofNullable(properties.prompt())
);
}

Expand Down
2 changes: 1 addition & 1 deletion src/main/kotlin/net/mcbrawls/packmanager/PackManager.kt
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ object PackManager : DedicatedServerModInitializer {
}

// register join event
ServerPlayConnectionEvents.JOIN.register { handler, sender, server ->
ServerPlayConnectionEvents.JOIN.register { handler, _, server ->
val player = handler.player

// compile pack set
Expand Down

0 comments on commit c7ccc05

Please sign in to comment.