Permalink
Browse files

Addressed error on Bukkit shutdown with disable-permission-system

due to parameter mismatch.

Error info:

SEVERE] Error occurred while disabling cljminecraft v1.0.3 (Is it up to
date?)
clojure.lang.ArityException: Wrong number of args (0) passed to:
core$disable-permission-system
  • Loading branch information...
ddeaguiar committed Aug 18, 2013
1 parent 62e2934 commit 74746a56c32790d6efee1d321cb1009119ac4353
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/cljminecraft/core.clj
@@ -92,11 +92,11 @@
(plr/permission-attach-all! plugin))
(defn disable-permission-system
- [plugin]
+ []
(plr/permission-detach-all!))
;; cljminecraft specific setup
-(defn start
+(defn start
"onEnable cljminecraft"
[plugin]
(reset! clj-plugin plugin)

0 comments on commit 74746a5

Please sign in to comment.