Skip to content

Commit 4e9595e

Browse files
committed
Use the Hytale Maven Repo
1 parent e1e6788 commit 4e9595e

File tree

5 files changed

+9
-15
lines changed

5 files changed

+9
-15
lines changed

.github/workflows/build.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,6 @@ jobs:
2828
- name: Setup Gradle
2929
uses: gradle/actions/setup-gradle@v4
3030

31-
- name: Download HytaleServer.jar
32-
run: wget -O hytale/libs/HytaleServer.jar https://azuriom.s3.fr-par.scw.cloud/HytaleServer.jar
33-
3431
- name: Build
3532
run: ./gradlew build
3633

README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,9 @@ Java **25** JDK or newer is required.
3232

3333
### Compiling from source
3434

35-
1. Download the [Hytale](https://hytale.com/) server and place it at `hytale/libs/HytaleServer.jar`.
36-
2. Build the project using Gradle:
37-
```sh
38-
./gradlew build
39-
```
35+
```sh
36+
./gradlew build
37+
```
4038

4139
The output JAR files are located in `universal/build/libs` and `universal-legacy/build/libs`.
4240

common/src/main/java/com/azuriom/azlink/common/chat/AdventureComponentAdapter.java

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,7 @@ private AdventureComponentAdapter() {
3434
}
3535

3636
public static Component toAdventure(TextComponent component) {
37-
Component result = Component.text(component.content());
38-
39-
if (component.color() != null) {
40-
result = result.color(adaptColor(component.color()));
41-
}
37+
Component result = Component.text(component.content(), adaptColor(component.color()));
4238

4339
for (TextDecoration decoration : component.decorations()) {
4440
result = result.decorate(DECORATION_MAP.get(decoration));

hytale/build.gradle

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
1+
repositories {
2+
maven { url = 'https://maven.hytale.com/release/' }
3+
}
4+
15
dependencies {
26
implementation project(':azlink-common')
3-
compileOnly files('libs/HytaleServer.jar')
7+
compileOnly 'com.hypixel.hytale:Server:2026.01.28-87d03be09'
48
}
59

610
processResources {

hytale/libs/.gitignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)