mojira.dev
MC-117639

when a function is skipped from an if statement, it outputs to console when sendCommandFeedback = false

The bug

When the function command is run with the if statement, and the if statement fails to find an entity, it outputs "Skipped execution of function 'function:name/here'", despite sendCommandFeedback being set to false.

Steps to reproduce

  1. Set the sendCommandFeedback gamerule to false

    /gamerule sendCommandFeedback false
  2. Create a function

  3. Run the function with an if statement that will fail

Linked issues

Comments 3

I don't see how sendCommandFeedback should prevent you from knowing that the thing you just typed didn't work.

Edit: Scratch that, I realize what you're asking for now I think. Skipping isn't considered a failure, so it isn't shown as such. This is fixed now.

Then it should probably be displayed as error and would fall under MC-76793.

The way it currently is is inconsistent.

Okay, yeah, you're right. That gamerule doesn't prevent error text from showing up. This specific text was not considered an error so the gamerule would definitely not have affected it, but now it is so this can just be covered by MC-76793.

Basemaker5

Nathan Adams

Confirmed

function, sendCommandFeedback

Minecraft 1.12 Pre-Release 4, Minecraft 1.12 Pre-Release 5

Retrieved