1. Steve Losh
  2. clojurecraft

Commits

Steve Losh  committed c14f351

Minor jumpbot tweaks.

  • Participants
  • Parent commits 336987d
  • Branches default

Comments (0)

Files changed (1)

File src/examples/jumpbot.clj

View file
 (defn make-jumpbot [server username]
   (let [bot (core/connect server username)]
     (events/add-handler bot :dead #'handle-dead)
-    (loops/add-loop bot #'jump 3000 :jump-loop)
+    (loops/add-loop bot #'jump 2000 :jump-loop)
+    (Thread/sleep 10000)
     bot))