Uploaded image for project: 'Spigot'
  1. Spigot
  2. SPIGOT-6831

Papa Llama Drama (Ticking entity, trader_llama pathfinding) Crashed Minecraft Server (java.lang.IllegalArgumentException: bound must be positive)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • None
    • Operating System: Linux (amd64) version 5.4.0-74-generic (Ubuntu)
      Java Version: 17.0.1

      See full details in crash log.

    • This server is running CraftBukkit version 3339-Spigot-3c40a6c-581df18 (MC: 1.18) (Implementing API version 1.18-R0.1-SNAPSHOT)
    • Yes

      Issue: Server crashes with error "java.lang.IllegalArgumentException: bound must be positive
          at java.base/java.util.Random.nextInt(Random.java:322)
          at net.minecraft.world.entity.animal.horse.EntityLlama.b(SourceFile:411) ..." (see attached crash logs.

      Not sure if this is an error in the Minecraft codebase, or Spigot. 

      Seems to happen within seconds of a player getting in range of a fenced-in trader llama farm on our server.

      Was not able to reproduce on a new world (yet, still trying)

       

      3 Crash logs attached, along with a log file.

       

       

            Unassigned Unassigned
            jjdb210 Justin Gehring
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: