Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-22586

spreadplayers command doesn't accept relative coords for x and z parameters

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Minecraft 14w26a
    • Minecraft 1.6.1, Minecraft 1.6.2, Minecraft 1.7.4, Minecraft 14w02c, Minecraft 14w07a, Minecraft 14w11b, Minecraft 1.7.9, Minecraft 14w17a, Minecraft 14w21b, Minecraft 14w25a, Minecraft 14w25b
    • Mac 10.8
    • Community Consensus

      Entering the spreadplayers command with relative (~) x and/or z coords causes a "NaN is not a valid number" error.

      Ex:
      /spreadplayers ~0 ~0 10 20 false @a

      This would be very useful for modular design, allowing players to be spread out relative to a given player/command block location, without being tied to a specific x/z location.

        1. 2014-02-15_18.25.46.png
          99 kB
          Mateo Hernandez
        2. 2014-02-15_18.26.10.png
          99 kB
          Mateo Hernandez
        3. 2014-07-06_18.03.29.png
          239 kB
          user-f2760

            searge [Mojang] Searge (Michael Stoyke)
            berg Berg
            Votes:
            9 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: