onCommand underlined

Discussion in 'Plugin Development' started by kallifabio, Feb 4, 2017.

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

    kallifabio

    Does anyone have a solution.

    public boolean onCommand(CommandSender sender, Command cmd, String label, String[] args) {

    The between the arrows and underlined is underlined in the code red.
     
    Last edited by a moderator: Feb 4, 2017
  2. Online

    timtower Administrator Administrator Moderator

    @kallifabio Hover your mouse over it.
    What does it say?
     
  3. Offline

    kallifabio

    @timtower This method must return a result of type boolean
     
  4. Online

    timtower Administrator Administrator Moderator

  5. Offline

    kallifabio

  6. Online

    timtower Administrator Administrator Moderator

  7. Offline

    mehboss

    @kallifabio
    You have to return false; or return true;
     
Thread Status:
Not open for further replies.

Share This Page