Skip to content

Commit 89be051

Browse files
Version 1.3.10.2
1 parent 56cce62 commit 89be051

File tree

100 files changed

+2356
-1274
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

100 files changed

+2356
-1274
lines changed

build-logic/src/main/kotlin/essential/repos.kt

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,6 @@ fun RepositoryHandler.minecraft() = maven("https://libraries.minecraft.net")
2121

2222
fun RepositoryHandler.mixin() = maven("https://repo.spongepowered.org/repository/maven-releases/")
2323

24-
fun RepositoryHandler.modMenu() = maven("https://maven.terraformersmc.com/releases/") {
25-
content {
26-
includeGroup("com.terraformersmc")
27-
}
28-
}
29-
3024
// Documentation: https://docs.modrinth.com/maven
3125
fun RepositoryHandler.modrinth() = maven("https://api.modrinth.com/maven") {
3226
content {

build-logic/src/main/kotlin/essential/universal.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ fun Project.universalLibs() {
6565
compileOnly("com.google.code.gson:gson:2.2.4")
6666
compileOnly("com.google.guava:guava:17.0")
6767
compileOnly("commons-codec:commons-codec:1.9")
68-
compileOnly("org.apache.httpcomponents:httpclient:4.3.3") // TODO ideally switch to one of the libs we bundle
6968
compileOnly("io.netty:netty-all:4.0.23.Final")
7069
// These versions are configured in gradle/libs.versions.toml
7170
compileOnly("gg.essential:universalcraft-1.8.9-forge:${getVersion("universalcraft")}") {

build.gradle.kts

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ val mcPlatform: String by project.extra
3232

3333
repositories {
3434
mavenLocal()
35-
modMenu()
3635
}
3736
base.archivesName.set("Essential " + project.name)
3837

@@ -97,7 +96,8 @@ dependencies {
9796
testImplementation(kotlin("test"))
9897

9998
if (platform.isFabric && mcVersion >= 11600) {
100-
val modMenuDependency = "com.terraformersmc:modmenu:${when {
99+
repositories.modrinth()
100+
val modMenuDependency = "maven.modrinth:modmenu:${when {
101101
platform.mcVersion >= 11800 -> "3.0.0"
102102
platform.mcVersion <= 11700 -> "1.16.22"
103103
else -> "2.0.14"
@@ -138,6 +138,21 @@ dependencies {
138138
include(modImplementation(fabricApi.module("fabric-networking-api-v1", fapiVersion))!!)
139139
}
140140

141+
// Dependencies for The Aether Mod gloves cosmetic hiding, @see [AetherGlovesCompat]
142+
val mc = platform.mcVersion
143+
when {
144+
mc >= 12100 && !platform.isForge -> "accessories:1.1.0-beta.52+1.21.1"
145+
mc == 12004 && platform.isNeoForge -> "curios:7.4.3+1.20.4"
146+
mc == 12001 && platform.isFabric -> "accessories:1.0.0-beta.48+1.20.1"
147+
mc == 12001 && platform.isForge -> "curios:1.19.2-5.1.6.4"
148+
mc >= 11902 && mc < 12001 && platform.isForge -> "curios:1.19.2-5.1.6.4"
149+
mc == 11202 -> "aether:1.12.2-v1.5.4.1"
150+
else -> null
151+
}?.let {
152+
repositories.modrinth()
153+
modCompileOnly("maven.modrinth:$it")
154+
}
155+
141156

142157
constraints {
143158
val kotlin = KotlinVersion.minimal

changelog/release-1.3.10.2.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
Title: Bug Patch
2+
Summary: Minor bug fixes
3+
4+
## Improvements
5+
- Added option to disable collection of non-functional telemetry
6+
- Added code redemption to wardrobe
7+
8+
## Bug Fixes
9+
- Fixed "Cosmetics loading" modal taking very long to complete
10+
- Fixed dark line in background of nametags with bold text
11+
- Fixed underscores in usernames being turned into italic formatting in some notifications
12+
- Fixed markdown rendering related crash in Social Menu
13+
14+
## Compatibility
15+
- Added compatibility for The Aether's glove armor to hide some arm cosmetics

features.properties

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
always=true
22
suspensions_and_chat_filtering=true
3+
store_redemption_codes=true
4+
telemetry_opt_out=true

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ minecraftVersion=11202
1010
# TODO remove once upgrading to Loom 1.10
1111
# fabric-api 1.21.5 was built with Loom 1.10, seems to work well enough in dev with our current 1.7 though
1212
loom.ignoreDependencyLoomVersionValidation=true
13-
version=1.3.10.1
13+
version=1.3.10.2

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[versions]
2-
universalcraft = "431"
2+
universalcraft = "440"
33
elementa = "712"
44
vigilance = "306"
55
mixinextras = "0.4.0"

gui/elementa/src/main/kotlin/gg/essential/gui/elementa/essentialmarkdown/MarkdownRenderer.kt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ import gg.essential.gui.elementa.essentialmarkdown.ext.colorattribute.ColorAttri
2121
import gg.essential.gui.elementa.essentialmarkdown.ext.colorattribute.ColorAttributeExtension
2222
import gg.essential.gui.elementa.essentialmarkdown.drawables.*
2323
import java.awt.Color
24+
import java.net.MalformedURLException
2425
import java.net.URL
2526

2627
class MarkdownRenderer @JvmOverloads constructor(
@@ -197,7 +198,11 @@ private class MarkdownRendererImpl(
197198
mark()
198199
super.visit(image)
199200
val fallback = unmarkAndCollect()
200-
drawables.add(gg.essential.gui.elementa.essentialmarkdown.drawables.ImageDrawable(md, URL(image.destination), fallback))
201+
try {
202+
drawables.add(gg.essential.gui.elementa.essentialmarkdown.drawables.ImageDrawable(md, URL(image.destination), fallback))
203+
} catch (e: MalformedURLException) {
204+
drawables.addAll(fallback)
205+
}
201206
}
202207

203208
override fun visit(indentedCodeBlock: IndentedCodeBlock) {

gui/essential/src/main/java/gg/essential/handlers/MojangSkinManager.java

Lines changed: 0 additions & 188 deletions
This file was deleted.

gui/essential/src/main/java/gg/essential/util/RateLimitException.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
package gg.essential.util;
1313

1414
public class RateLimitException extends Exception {
15-
public RateLimitException(String errorMessage) {
16-
super(errorMessage);
15+
public RateLimitException() {
16+
super("Rate limit exceeded");
1717
}
1818
}

0 commit comments

Comments
 (0)