ConsoleCommandSender

Discussion in 'Plugin Development' started by lmc, Sep 28, 2011.

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

    Ive come to upgrading buycraft to 1185, and ive realised that the Constructor for ConsoleCommandSender has now been set to protected, preventing me from being able to use the class as i used to. How is it now ment to be implemented?
     
  2. Its not...:D (wrong section)
     
  3. I just got told to post in here from another section ? :S:S
     
  4. Offline

    Shamebot

    It's the right section.

    Instantiating a new ConsoleCommandSender led to some bugs.
    You can get an instance of it with server.getConsoleSender().
     
  5. Sorry, thought this was in resources. Your right :)
     
  6. Thanks dude! Ill try it out!
     
  7. Ok this isnt working, getConsoleSender() dosent exist in 1185?
     
  8. It was added in like 1187 or something...
     
  9. Yea, its just me getting mixed up with the latest builds, sorted it now - thanks for the help anyway
     
    tips48 likes this.
Thread Status:
Not open for further replies.

Share This Page