User Tools

Site Tools


tutorial:commands

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
tutorial:commands [2020/11/25 08:20]
i509vcb [Advanced concepts]
tutorial:commands [2020/11/25 08:20]
i509vcb [Catch or throw a CommandSyntaxException]
Line 237: Line 237:
 ==== Catch or throw a CommandSyntaxException ==== ==== Catch or throw a CommandSyntaxException ====
  
-The solution to this issue is to make the run or suggest methods throw a ''​CommandSyntaxException''​. Brigadier will handle the checked exceptions and forward the proper error message in game for you.+The solution to this issue is to make the ''​run'' ​or ''​suggest'' ​methods throw a ''​CommandSyntaxException''​. Brigadier will handle the checked exceptions and forward the proper error message in game for you.
  
 ==== Issues with generics ==== ==== Issues with generics ====
tutorial/commands.txt ยท Last modified: 2021/03/09 02:05 by solidblock