cf28fd5
Branches > refactor/use-spec-1 > cf28fd5 > files / src / net / bowmap / packet_handling.clj
Update nbt docstring
Commit: cf28fd5b78d74b5665664bc6d76fdcf97c230695
Parent: ac6158f
1 changed file:
src/net/bowmap/packet/write.clj view file
@@ -148,7 +148,9 @@ [x] (nbt-writers (nbt-type x))) -(defn write-nbt! [buf x]+(defn write-nbt!+ "Writes NBT value 'x' into buf, throws if the value cannot be encoded (this will muck the buffer so don't try to recover)"+ [buf x] (-> buf (ByteBuf/.writeByte 0x0a) ((nbt-writer x) x)))