Mirror von
https://github.com/GeyserMC/Geyser.git
synchronisiert 2024-12-27 00:23:03 +01:00
Fix building
Dieser Commit ist enthalten in:
Ursprung
52b23950ea
Commit
88fc3cf843
@ -40,7 +40,7 @@ public class BedrockPlayerInitializedTranslator extends PacketTranslator<SetLoca
|
|||||||
|
|
||||||
if (!(session.getConnector().getConfig().getRemote().getAuthType().hashCode() == "online".hashCode())) {
|
if (!(session.getConnector().getConfig().getRemote().getAuthType().hashCode() == "online".hashCode())) {
|
||||||
session.getConnector().getLogger().info("Attempting to login using offline mode... authentication is disabled.");
|
session.getConnector().getLogger().info("Attempting to login using offline mode... authentication is disabled.");
|
||||||
session.authenticate(session.getAuthenticationData().getName());
|
session.authenticate(session.getAuthData().getName());
|
||||||
}
|
}
|
||||||
|
|
||||||
for (PlayerEntity entity : session.getEntityCache().getEntitiesByType(PlayerEntity.class)) {
|
for (PlayerEntity entity : session.getEntityCache().getEntitiesByType(PlayerEntity.class)) {
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren