Mirror von
https://github.com/PaperMC/Velocity.git
synchronisiert 2024-11-16 21:10:30 +01:00
Send downloaded/successful resource pack status when already applied (Fixes #1280)
Dieser Commit ist enthalten in:
Ursprung
615b575d91
Commit
ad50582836
@ -209,6 +209,10 @@ public class BackendPlaySessionHandler implements MinecraftSessionHandler {
|
||||
if (serverConn.getConnection() != null) {
|
||||
serverConn.getConnection().write(new ResourcePackResponsePacket(
|
||||
packet.getId(), packet.getHash(), PlayerResourcePackStatusEvent.Status.ACCEPTED));
|
||||
serverConn.getConnection().write(new ResourcePackResponsePacket(
|
||||
packet.getId(), packet.getHash(), PlayerResourcePackStatusEvent.Status.DOWNLOADED));
|
||||
serverConn.getConnection().write(new ResourcePackResponsePacket(
|
||||
packet.getId(), packet.getHash(), PlayerResourcePackStatusEvent.Status.SUCCESSFUL));
|
||||
}
|
||||
if (modifiedPack) {
|
||||
logger.warn("A plugin has tried to modify a ResourcePack provided by the backend server "
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren