1
0
mirror of https://github.com/GeyserMC/Geyser.git synced 2026-01-04 15:31:36 +00:00

Actually remove PlayerLoginEvent usage, resolve incorrect waypoint color reading

Fixes https://github.com/GeyserMC/Geyser/issues/5669, fixes https://github.com/GeyserMC/Geyser/issues/5636
This commit is contained in:
onebeastchris
2025-07-12 21:53:52 +02:00
parent 34e7dc96a2
commit 17bd368c9d
2 changed files with 5 additions and 5 deletions

View File

@@ -28,16 +28,16 @@ package org.geysermc.geyser.platform.spigot;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
import org.bukkit.event.player.PlayerJoinEvent;
import org.geysermc.geyser.GeyserImpl;
import org.geysermc.geyser.Permissions;
import org.geysermc.geyser.platform.spigot.command.SpigotCommandSource;
import org.geysermc.geyser.util.VersionCheckUtils;
import org.spigotmc.event.player.PlayerSpawnLocationEvent;
public final class GeyserSpigotUpdateListener implements Listener {
@EventHandler
public void onPlayerSpawnLocation(final PlayerSpawnLocationEvent event) {
public void onPlayerJoin(final PlayerJoinEvent event) {
if (GeyserImpl.getInstance().getConfig().isNotifyOnNewBedrockUpdate()) {
final Player player = event.getPlayer();
if (player.hasPermission(Permissions.CHECK_UPDATE)) {

View File

@@ -14,7 +14,7 @@ protocol-common = "3.0.0.Beta7-20250705.103024-11"
protocol-codec = "3.0.0.Beta7-20250705.103024-11"
raknet = "1.0.0.CR3-20250218.160705-18"
minecraftauth = "4.1.1"
mcprotocollib = "1.21.7-20250630.183005-1"
mcprotocollib = "1.21.7-20250712.190650-3"
adventure = "4.21.0"
adventure-platform = "4.3.0"
junit = "5.9.2"
@@ -26,8 +26,8 @@ folia = "1.19.4-R0.1-SNAPSHOT"
viaversion = "4.9.2"
adapters = "1.16-SNAPSHOT"
cloud = "2.0.0-rc.2"
cloud-minecraft = "2.0.0-beta.9"
cloud-minecraft-modded = "2.0.0-beta.11"
cloud-minecraft = "2.0.0-beta.11"
cloud-minecraft-modded = "2.0.0-beta.12"
commodore = "2.2"
bungeecord = "1.21-R0.1-20250215.224541-54"
velocity = "3.4.0-SNAPSHOT"