Mirror von
https://github.com/PaperMC/Velocity.git
synchronisiert 2024-11-16 21:10:30 +01:00
Flip output for queued resource pack status passthrough conditional (#659)
* Flip output for queued resource pack status passthrough conditional * Hotfix to queue the intended resource pack info.
Dieser Commit ist enthalten in:
Ursprung
d4722eb2f8
Commit
9c44aff8c3
@ -165,7 +165,7 @@ public class BackendPlaySessionHandler implements MinecraftSessionHandler {
|
|||||||
.setOriginalOrigin(ResourcePackInfo.Origin.DOWNSTREAM_SERVER);
|
.setOriginalOrigin(ResourcePackInfo.Origin.DOWNSTREAM_SERVER);
|
||||||
}
|
}
|
||||||
|
|
||||||
serverConn.getPlayer().queueResourcePack(builder.build());
|
serverConn.getPlayer().queueResourcePack(toSend);
|
||||||
} else if (serverConn.getConnection() != null) {
|
} else if (serverConn.getConnection() != null) {
|
||||||
serverConn.getConnection().write(new ResourcePackResponse(
|
serverConn.getConnection().write(new ResourcePackResponse(
|
||||||
packet.getHash(),
|
packet.getHash(),
|
||||||
|
@ -986,7 +986,7 @@ public class ConnectedPlayer implements MinecraftConnectionAssociation, Player {
|
|||||||
}
|
}
|
||||||
|
|
||||||
return queued != null
|
return queued != null
|
||||||
&& queued.getOriginalOrigin() == ResourcePackInfo.Origin.DOWNSTREAM_SERVER;
|
&& queued.getOriginalOrigin() != ResourcePackInfo.Origin.DOWNSTREAM_SERVER;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren