338a44c
Branches > main > 338a44c > files / src / net / bowmap
Rename serverbound ack-finish-config to finish-config
Commit: 338a44c390bf8575d72c6bd2ee86a0349a9cc504
Parent: b7a3e34
2 changed files:
src/net/bowmap/packet/server.clj view file
@@ -43,7 +43,7 @@ [::client-information ::cookie-response ::plugin-message- ::ack-finish-config+ ::finish-config ::keep-alive ::pong ::resource-pack-response@@ -69,7 +69,7 @@ ;; This packet also has a bunch of fields that I probably do care about! ::client-information [] ::known-packs []- ::ack-finish-config []}))+ ::finish-config []})) #_"Decodes and returns one packet from ByteBuf 'buf', which should contain at least one readable packet. The initial length field of the packet should not be stripped from 'buf'.src/net/bowmap/packet_handling.clj view file
@@ -53,5 +53,5 @@ {:response (conj (vec registry/registry-packets) {::pk/id ::cp/finish-config})}) -(defmethod handle-packet ::sp/ack-finish-config [pk client]+(defmethod handle-packet ::sp/finish-config [pk client] {:client (assoc client ::state/state ::state/play)})