Mojira Archive
MC-150569

Maybe nobody knows this. so I'm here for you to fix this issue thing.

I found this when 1.13.2 released so I don't know about other versions (except 1.13.2 and 1.14) having same issue.

 

But before reporting this bug, I have something to tell you

 

Minecraft /give command's AttributeModifiers works like:

 

/give @p diamond{AttributeModifiers:[{Slot:slot,AttributeName:"name",Name:"name",Operation:number,Amount:number,UUIDLeast:number,UUIDMost:number}]} itemamount

 

so, I was testing about this

what happens if i only put "generic."

 

I was confused there and typed generic_

Like: AttributeName:"generic_"

 

And I got an error called : "java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 1"

 

yeah this is very glitchy and needs to fixed

imagine people have op knowing this and trying to ./give @a this

 

then everyone will get kicked or crashed on server

 

I don't think leaving this and giving time to know other users can know about this

Thanks for reading

Cannot Reproduce

CrackThrough

2019-05-02, 02:33 PM

2019-05-03, 09:40 PM

2019-05-03, 09:40 PM

0

1

Unconfirmed

(Unassigned)

Minecraft 1.14

-