d655594
Branches > main > d655594 > files
Rename position-> to location->
Commit: d65559412ef15704cfebe826a99e028decfd0fe1
Parent: 950225b
2 changed files:
src/net/bowmap/protocol/packet/clientbound.clj view file
@@ -3,7 +3,7 @@ [net.bowmap.transport.writers :as write :refer [bit-mask-> boolean-> byte-> chunk-data-> context-optional-> double-> enum-> float-> game-profile-> identifier-> int-> json->- light-data-> list-> long-> nbt-> optional-> or-> position->+ light-data-> list-> long-> nbt-> optional-> or-> location-> string-> ubyte-> uuid-> varint->]] [net.bowmap.protocol.registry :as reg] [net.bowmap.transport.phase :as phase]@@ -52,7 +52,7 @@ :superflat-world? boolean-> :has-death-location? boolean-> :death-dimension-name (context-optional-> identifier->)- :death-location (context-optional-> position->)+ :death-location (context-optional-> location->) :portal-cooldown varint-> :sea-level varint-> :online-mode? boolean->src/net/bowmap/transport/writers.clj view file
@@ -192,7 +192,7 @@ (def float-> ByteBuf/.writeFloat) (def double-> ByteBuf/.writeDouble) (def identifier-> string->)-(defn position-> [pos]+(defn location-> [pos] (throw (Exception. "YOU NEVER ACTUALLY IMPLEMENTED THE POSITION TYPE REMEMBER?"))) (defn or-> [writer default]