62fd35b
Branches > facts > 62fd35b > files / src / net / bowmap
Default to adventure mode
Commit: 62fd35b48deabbdaf4ef0c7b7461ba643b88a030
Parent: c5b37b5
1 changed file:
src/net/bowmap/network/handle.clj view file
@@ -95,7 +95,7 @@ (send a client/send-clientbound-packet {::pk/id ::clientbound/finish-config}) client) -(defn- build-chunk-messages []+(defn- build-chunk-packets [] (let [pk {::pk/id ::clientbound/chunk-data-and-update-light :chunk-data (let [stone {:block-count (* 16 16 16)@@ -135,7 +135,7 @@ :dimension-type-id 0 :dimension-name "world" :hashed-seed 203894- :gamemode ::gamemode/creative+ :gamemode ::gamemode/adventure :debug-world? false :superflat-world? true :has-death-location? false@@ -147,7 +147,7 @@ (send a client/send-clientbound-packet {::pk/id ::clientbound/game-event :event :wait-for-chunks})- (doseq [pk (build-chunk-messages)]+ (doseq [pk (build-chunk-packets)] (send a client/send-clientbound-packet pk)) (send a client/send-clientbound-packet {::pk/id ::clientbound/synchronize-player-position