Mirror von
https://github.com/GeyserMC/Geyser.git
synchronisiert 2024-11-20 15:00:11 +01:00
Fix improperly named bedrock packet translator
Dieser Commit ist enthalten in:
Ursprung
a77c08b084
Commit
41f6d991a4
@ -34,7 +34,7 @@ import org.geysermc.connector.utils.SkinUtils;
|
|||||||
import com.nukkitx.protocol.bedrock.packet.SetLocalPlayerAsInitializedPacket;
|
import com.nukkitx.protocol.bedrock.packet.SetLocalPlayerAsInitializedPacket;
|
||||||
|
|
||||||
@Translator(packet = SetLocalPlayerAsInitializedPacket.class)
|
@Translator(packet = SetLocalPlayerAsInitializedPacket.class)
|
||||||
public class BedrockPlayerInitializedTranslator extends PacketTranslator<SetLocalPlayerAsInitializedPacket> {
|
public class BedrockSetLocalPlayerAsInitializedTranslator extends PacketTranslator<SetLocalPlayerAsInitializedPacket> {
|
||||||
@Override
|
@Override
|
||||||
public void translate(SetLocalPlayerAsInitializedPacket packet, GeyserSession session) {
|
public void translate(SetLocalPlayerAsInitializedPacket packet, GeyserSession session) {
|
||||||
if (session.getPlayerEntity().getGeyserId() == packet.getRuntimeEntityId()) {
|
if (session.getPlayerEntity().getGeyserId() == packet.getRuntimeEntityId()) {
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren