mirror of https://github.com/GeyserMC/Geyser.git
parent
240f41ff03
commit
3e4fd618e5
|
@ -40,11 +40,6 @@ public class BedrockPlayerInitializedTranslator extends PacketTranslator<SetLoca
|
||||||
if (!session.getUpstream().isInitialized()) {
|
if (!session.getUpstream().isInitialized()) {
|
||||||
session.getUpstream().setInitialized(true);
|
session.getUpstream().setInitialized(true);
|
||||||
|
|
||||||
if (!(session.getConnector().getAuthType() == AuthType.OFFLINE)) {
|
|
||||||
session.getConnector().getLogger().info("Attempting to login using offline mode... authentication is disabled.");
|
|
||||||
session.authenticate(session.getAuthData().getName());
|
|
||||||
}
|
|
||||||
|
|
||||||
for (PlayerEntity entity : session.getEntityCache().getEntitiesByType(PlayerEntity.class)) {
|
for (PlayerEntity entity : session.getEntityCache().getEntitiesByType(PlayerEntity.class)) {
|
||||||
if (!entity.isValid()) {
|
if (!entity.isValid()) {
|
||||||
// async skin loading
|
// async skin loading
|
||||||
|
|
Loading…
Reference in New Issue