Skip to content

Only interrupt for certain CommandSyntaxExceptions #2

@misode

Description

@misode

Most command runtime exceptions are actually intended in data packs. For example setting a block when the block already exists or adding a scoreboard objective when it already exists. Some commands simply are meant to check for failures. By default these shouldn't cause an interrupt.

image
image

However some errors like missing arguments which are not currently checked at compile time should cause an interrupt.

image

If it is hard to decide whether or not an exception is intended or should cause an interrupt, a simple configuration to disable all runtime exceptions would also be useful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions