mojira.dev
MC-80266

Radius argument higher than integer limit in different dimensions and rm argument act incorrect

If you run a command with the *r* argument in a selector in a different dimension, it should normally fail. However when using a number higher than the int limit (limit: 2147483647), it says that the command failed but it ran the command anyway. The same thing is for the argument *rm* but there it doesn't matter what number you choose and in which dimension you are.

Command:
/execute @e[type=ArmorStand] ~ ~ ~ /tellraw @a[r=2147483648] Test

Log:
[16:58:17] [Client thread/INFO]: [CHAT] Test
[16:58:17] [Client thread/INFO]: [CHAT] Failed to execute '/tellraw @a[r=2147483648] Test' as Armor Stand

How to reproduce:

  1. Go in the Overworld and place an ArmorStand in the spawn chunks

  2. Go in the End or Nether

  3. Run this command */execute @e[type=ArmorStand] ~ ~ ~ /tellraw @a[r=2147483648] Test*

or

Run this command */tellraw @a[rm=1] Test*

You will recieve the */tellraw* message but it also creates the error message.

Linked issues

Comments 3

I cannot reproduce this, even in 1.8.4 single player AND server. Seeing the code, I can't find any reason for this to happen. Are you sure you didn't have an extra ArmorStand in the nether?

Plop.
Can you still reproduce this in 1.9?

Cannot confirm for 1.9 neither

marcono1234

(Unassigned)

Unconfirmed

Minecraft 1.8.4

Retrieved