forked from GeyserMC/Geyser
Fix building
This commit is contained in:
parent
52b23950ea
commit
88fc3cf843
1 changed files with 1 additions and 1 deletions
|
@ -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)) {
|
||||||
|
|
Loading…
Reference in a new issue