mojira.dev
MC-313772

`/environmentattribute` is enabled by the `-DMC_DEBUG_ENABLED` debug property instead of `-DMC_DEBUG_DEV_COMMANDS`

I was testing the latest pre-release version and noticed that the hidden “/environmentattribute” command always registers even if the “MC_DEBUG_DEV_COMMANDS” debug property is false/not set. It checks the “MC_DEBUG_ENABLED” debug property instead of “MC_DEBUG_DEV_COMMANDS”. The “/environmentattribute” command is a development command, so I have reason to suspect that there may be a programming error.

To reproduce this, set the “MC_DEBUG_ENABLED” debug property to true, but do not set any other debug properties. When you start up the game and open a world, the “/environmentattribute” command will be available despite the “MC_DEBUG_DEV_COMMANDS” debug property not being set to true.

Comments 0

No comments.

Mickey42302

(Unassigned)

Confirmed

26.4 Pre-Release 3

Retrieved