Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Update to 1.0.2

Comment on config.clj to make it a bit more obvious what defcns is doing
  • Loading branch information...
commit 268080977178e0e73f7e52e41334efec79ed26c9 1 parent 21b6ca5
@CmdrDats authored
Showing with 5 additions and 1 deletion.
  1. +1 −1  project.clj
  2. +4 −0 src/cljminecraft/config.clj
View
2  project.clj
@@ -1,4 +1,4 @@
-(defproject cljminecraft "1.0.1-SNAPSHOT"
+(defproject cljminecraft "1.0.2"
:description "Clojure for Bukkit Minecraft"
:dependencies [[org.clojure/clojure "1.4.0"]
[org.clojure/tools.logging "0.2.3"]
View
4 src/cljminecraft/config.clj
@@ -18,4 +18,8 @@
(let [forms (map defcn types)]
`(do ~@forms)))
+;; This creates the functions (get-... plugin path), eg
+;; (get-string plugin path) to get specific config
+;; entries with the correct types.
+
(defcns string int boolean double long list string-list integer-list boolean-list double-list float-list long-list byte-list character-list short-list map-list vector offline-player item-stack configuration-section)
Please sign in to comment.
Something went wrong with that request. Please try again.