mojira.dev

Levertion

Assigned

No issues.

Reported

MC-125461 Enchant command does not require operator permissions Duplicate MC-123401 In commands, block states are attempted to be read after the end of the previous value Fixed

Comments

The following is based on a decompiled version of Minecraft snapshot 17w45b (obfuscated) decompiled using CFR v122

This is because the class `cx.java`, which appears to parse selectors, sets the properties `l`, presumably named `selectsNonPlayer` or equivalent when deobfuscated to false. The relevant code is as follows:

else if (c2 == 'r') {
    this.k = 1;
    this.l = false; //Should be true
    this.y = i;
}