Need help understanding line of code

Discussion in 'Plugin Development' started by jasondorson, Jan 16, 2021.

  1. Offline

    jasondorson

    Can someone please explain to me what this line of code is doing?

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

    }
     
  2. Offline

    timtower Administrator Administrator Moderator

    @jasondorson That is what what Bukkit calls when it receives a command.
     
  3. Offline

    marcelo.mb

Share This Page