Skip to content

Commit

Permalink
Update to 1.20.1
Browse files Browse the repository at this point in the history
  • Loading branch information
IotaBread committed Jul 4, 2023
1 parent f2fe3fd commit d0c607c
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 14 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,4 @@ jobs:
run: ./gradlew publish
env:
MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }}
AWS_ACCESS_KEY: ${{ secrets.AWS_ACCESS_KEY }}
AWS_SECRET_KEY: ${{ secrets.AWS_SECRET_KEY }}
CURSE_API_KEY: ${{ secrets.CURSE_API_KEY }}
16 changes: 5 additions & 11 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,10 @@ modrinth {
token = project.hasProperty('modrinth_token') ? project.property('modrinth_token') : System.getenv('MODRINTH_TOKEN')
projectId = 'B6Z2SJET'
versionNumber = project.version
versionName = "Regional Chat ${project.version} for Minecraft 1.19.3"
versionName = "Regional Chat ${project.version} for Minecraft 1.20.1"
uploadFile = remapJar
changelog = "A changelog can be found at https://github.com/ByMartrixx/regional-chat/releases/tag/${version}"
gameVersions = ['1.19.3']
gameVersions = ['1.20.1']
loaders = ['fabric', 'quilt']
}

Expand All @@ -81,11 +81,11 @@ curseforge {
id = '558251'
changelog = "A changelog can be found at https://github.com/ByMartrixx/regional-chat/releases/tag/${version}"
releaseType = 'release'
addGameVersion '1.19.3'
addGameVersion '1.20.1'
addGameVersion 'Fabric'
addGameVersion 'Quilt'
mainArtifact(remapJar) {
displayName = "Regional Chat ${version} for Minecraft 1.19.3"
displayName = "Regional Chat ${version} for Minecraft 1.20.1"
}
afterEvaluate {
uploadTask.dependsOn('remapJar')
Expand All @@ -108,12 +108,6 @@ publishing {

// See https://docs.gradle.org/current/userguide/publishing_maven.html for information on how to set up publishing.
repositories {
maven {
url 's3://maven.bymartrixx.me'
credentials(AwsCredentials) {
accessKey = System.env.AWS_ACCESS_KEY ?: findProperty('mavenAccessKey')
secretKey = System.env.AWS_SECRET_KEY ?: findProperty('mavenSecretKey')
}
}
mavenLocal()
}
}
Empty file modified gradlew
100644 → 100755
Empty file.
2 changes: 1 addition & 1 deletion src/main/java/me/bymartrixx/regionalchat/RegionalChat.java
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public static Predicate<ServerPlayer> getPlayerFilter(ServerPlayer senderPlayer)
return true;
}

if (player.getLevel() != senderPlayer.getLevel()) {
if (player.level() != senderPlayer.level()) {
return false;
}

Expand Down

0 comments on commit d0c607c

Please sign in to comment.