Command Excecutor

Discussion in 'Plugin Development' started by Legocowchaser, Nov 27, 2013.

Thread Status:
Not open for further replies.
  1. Offline


    Here is part of my command excecutor class. It says that plugin; is "The value of the field CommandExcecutor.plugin is unused" My main class is Main and my command excecutor is CommandExcecutor.

        private Main plugin;
        public CommandExcecutor(Main plugin) {
            this.plugin = plugin;
  2. Offline


    you never use the plugin variable inside the CommandExecutor. You can safely remove it, thats what your IDE tells you.
  3. Offline


    geNAZt But I think that is what the wiki said.
Thread Status:
Not open for further replies.

Share This Page