Update Hytale to target 2026.03.26-89796e57b

This commit is contained in:
Luck committed 2026-03-26 21:46:16 +00:00
1 parent 5db9ecb689
commit cfd1aa276c
5 files changed
+7 -6

No files matched your search

+1 -1
View File
@@ -13,7 +13,7 @@ dependencies {
implementation 'com.google.guava:guava:19.0'
implementation 'com.google.code.gson:gson:2.7'
compileOnly 'com.hypixel.hytale:Server:2026.02.17-255364b8e'
compileOnly "com.hypixel.hytale:Server:${hytaleVersion}"
}
repositories {
+1
View File
@@ -0,0 +1 @@
hytaleVersion=2026.03.26-89796e57b
+1 -1
View File
@@ -10,7 +10,7 @@ dependencies {
implementation project(':api')
implementation project(':common:loader-utils')
compileOnly 'com.hypixel.hytale:Server:2026.02.17-255364b8e'
compileOnly "com.hypixel.hytale:Server:${hytaleVersion}"
}
repositories {
+1 -1
View File
@@ -6,7 +6,7 @@ dependencies {
implementation project(':api')
implementation project(':common:loader-utils')
compileOnly 'com.hypixel.hytale:Server:2026.02.17-255364b8e'
compileOnly "com.hypixel.hytale:Server:${hytaleVersion}"
}
repositories {
@@ -36,9 +36,9 @@ import me.lucko.luckperms.common.locale.Message;
import me.lucko.luckperms.common.locale.TranslationManager;
import me.lucko.luckperms.common.model.User;
import me.lucko.luckperms.common.plugin.util.AbstractConnectionListener;
import me.lucko.luckperms.hytale.HytaleSenderFactory;
import me.lucko.luckperms.hytale.LPHytalePlugin;
import net.kyori.adventure.text.Component;
import net.kyori.adventure.text.serializer.plain.PlainTextComponentSerializer;
import java.util.Collections;
import java.util.HashSet;
@@ -99,7 +99,7 @@ public class HytaleConnectionListener extends AbstractConnectionListener {
Component reason = TranslationManager.render(Message.LOADING_DATABASE_ERROR.build());
e.setCancelled(true);
e.setReason(PlainTextComponentSerializer.plainText().serialize(reason));
e.setReason(HytaleSenderFactory.toHytaleMessage(reason));
this.plugin.getEventDispatcher().dispatchPlayerLoginProcess(e.getUuid(), e.getUsername(), null);
}
}
@@ -146,7 +146,7 @@ public class HytaleConnectionListener extends AbstractConnectionListener {
}
Component reason = TranslationManager.render(Message.LOADING_STATE_ERROR.build(), player.getLanguage());
player.getPacketHandler().disconnect(PlainTextComponentSerializer.plainText().serialize(reason));
player.getPacketHandler().disconnect(HytaleSenderFactory.toHytaleMessage(reason));
}
private void onPlayerQuit(PlayerDisconnectEvent e) {