Skip to content

Commit d7bd26b

Browse files
committed
up protocol patch
1 parent d41527e commit d7bd26b

File tree

2 files changed

+39
-25
lines changed

2 files changed

+39
-25
lines changed

patches/minecraft-protocol.patch

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -73,19 +73,6 @@ index 63cc2bd9615100bd2fd63dfe14c094aa6b8cd1c9..36df57d1196af9761d920fa285ac48f8
7373
}
7474

7575
function onJoinServerResponse (err) {
76-
diff --git a/src/client/play.js b/src/client/play.js
77-
index 559607f34e9a5b2b7809423f8ca4cd6746b60225..4dc1c3139438cc2729b05c57e57bd00252728f8a 100644
78-
--- a/src/client/play.js
79-
+++ b/src/client/play.js
80-
@@ -53,7 +53,7 @@ module.exports = function (client, options) {
81-
client.write('configuration_acknowledged', {})
82-
}
83-
client.state = states.CONFIGURATION
84-
- client.on('select_known_packs', () => {
85-
+ client.once('select_known_packs', () => {
86-
client.write('select_known_packs', { packs: [] })
87-
})
88-
// Server should send finish_configuration on its own right after sending the client a dimension codec
8976
diff --git a/src/client.js b/src/client.js
9077
index e369e77d055ba919e8f9da7b8e8b5dc879c74cf4..11c6bff299f1186ab1ecb6744f53ff0c648ab192 100644
9178
--- a/src/client.js

pnpm-lock.yaml

Lines changed: 39 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)