746013401548

Moar.
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Tue, 21 Jun 2011 21:36:59 -0400
parents e022271dc091
children b6d82b5b24d0
branches/tags (none)
files src/clojurecraft/core.clj

Changes

--- a/src/clojurecraft/core.clj	Tue Jun 21 21:32:38 2011 -0400
+++ b/src/clojurecraft/core.clj	Tue Jun 21 21:36:59 2011 -0400
@@ -248,8 +248,8 @@
 (defn read-packet-playerpositionlook [conn]
       (-> {}
           (assoc :x (-read-double conn))
+          (assoc :stance (-read-double conn))
           (assoc :y (-read-double conn))
-          (assoc :stance (-read-double conn))
           (assoc :z (-read-double conn))
           (assoc :yaw (-read-float conn))
           (assoc :pitch (-read-float conn))