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

bound must be positive

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • None
    • Minecraft 1.8, Minecraft 1.8.1-pre3
    • None
    • OS: Windows 8.1 (ver 6.3, arch amd64)
      Java: 1.8.0_25 (by Oracle Corporation)
      Launcher: Minecraft Launcher 1.5.3 (bootstrap 5)
      Minecraft: 1.8 (updated Tue Sep 02 04:24:35 EDT 2014)
    • Unconfirmed

      java.lang.IllegalArgumentException: bound must be positive
      at java.util.Random.nextInt(Unknown Source)
      at ary.a(SourceFile:139)
      at ary.a(SourceFile:49)
      at arm.a(SourceFile:389)
      at asa.a(SourceFile:29)
      at bgv.a(SourceFile:472)
      at qs.a(SourceFile:174)
      at bfh.a(SourceFile:843)
      at qs.c(SourceFile:104)
      at qs.d(SourceFile:116)
      at aqu.a(SourceFile:276)
      at arg.a(SourceFile:159)
      at arg.a(SourceFile:80)
      at qt.c(SourceFile:182)
      at net.minecraft.server.MinecraftServer.z(SourceFile:599)
      at net.minecraft.server.MinecraftServer.y(SourceFile:531)
      at cyk.y(SourceFile:155)
      at net.minecraft.server.MinecraftServer.run(SourceFile:447)
      at java.lang.Thread.run(Unknown Source)

      code:
      <code>
      i5 = this.b.nextInt(this.a.m(this.c.a(i3, 0, i4)).o() + 32);

      // suggest:

      i5 = Math.abs(this.b.nextInt(this.a.m(this.c.a(i3, 0, i4)).o() + 32));
      </code>
      What I expected to happen was...:
      Describe what you thought should happen here

      What actually happened was...:
      apparently works when difficulty=peaceful.
      map seems corrupt or outdated as doors displaced as half door.
      other worlds worked fine.

      Steps to Reproduce: Unkown
      What file is ary.java in 1.8.1? The Entity.java?
      ary -> arz 1.8.1-pre3 (implicates one file added in category a/r/)

            Unassigned Unassigned
            link_the_programmer Andrew Porter
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: