1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

InvalidArgumentException: "XP amount must be greater than 0, got 0" (EXCEPTION) in "src/pocketmine/e

Discussion in 'Development' started by bruno99, Jan 9, 2018.

  1. bruno99

    bruno99 Spider

    Messages:
    12
    GitHub:
    udachin26
    [15:52:58] [Server thread/CRITICAL]: InvalidArgumentException: "XP amount must be greater than 0, got 0" (EXCEPTION) in "src/pocketmine/entity/object/ExperienceOrb" at line 133
    [15:52:58] [Server thread/DEBUG]: #0 src/pocketmine/entity/object/ExperienceOrb(115): pocketmine\entity\object\ExperienceOrb->setXpValue(integer 0)
    [15:52:58] [Server thread/DEBUG]: #1 src/pocketmine/entity/Entity(544): pocketmine\entity\object\ExperienceOrb->initEntity()
    [15:52:58] [Server thread/DEBUG]: #2 src/pocketmine/entity/Entity(258): pocketmine\entity\Entity->__construct(pocketmine\level\Level object, pocketmine\nbt\tag\CompoundTag object)
    [15:52:58] [Server thread/DEBUG]: #3 src/pocketmine/level/format/Chunk(732): pocketmine\entity\Entity::createEntity(string XPOrb, pocketmine\level\Level object, pocketmine\nbt\tag\CompoundTag object)
    [15:52:58] [Server thread/DEBUG]: #4 src/pocketmine/level/Level(2780): pocketmine\level\format\Chunk->initChunk(pocketmine\level\Level object)
    [15:52:58] [Server thread/DEBUG]: #5 src/pocketmine/level/Level(2411): pocketmine\level\Level->loadChunk(integer 12, integer 0, boolean 1)
    [15:52:58] [Server thread/DEBUG]: #6 src/pocketmine/level/Level(1620): pocketmine\level\Level->getChunk(integer 12, integer 0, boolean 1)
    [15:52:58] [Server thread/DEBUG]: #7 AutoMine/src/am/AutoMine(143): pocketmine\level\Level->setBlock(pocketmine\math\Vector3 object, pocketmine\block\Stone object, boolean , boolean )
    [15:52:58] [Server thread/DEBUG]: #8 AutoMine/src/am/AutoMine(190): class@anonymous/home/19132/plugins/AutoMine/src/am/AutoMine.php0x7fd621f8e9d9->setBlocks()
    [15:52:58] [Server thread/DEBUG]: #9 src/pocketmine/scheduler/TaskHandler(160): class@anonymous/home/19132/plugins/AutoMine/src/am/AutoMine.php0x7fd621f8e9d9->onRun(integer 1)
    [15:52:58] [Server thread/DEBUG]: #10 src/pocketmine/scheduler/ServerScheduler(326): pocketmine\scheduler\TaskHandler->run(integer 1)
    [15:52:58] [Server thread/DEBUG]: #11 src/pocketmine/Server(2536): pocketmine\scheduler\ServerScheduler->mainThreadHeartbeat(integer 1)
    [15:52:58] [Server thread/DEBUG]: #12 src/pocketmine/Server(2279): pocketmine\Server->tick()
    [15:52:58] [Server thread/DEBUG]: #13 src/pocketmine/Server(2154): pocketmine\Server->tickProcessor()
    [15:52:58] [Server thread/DEBUG]: #14 src/pocketmine/Server(1742): pocketmine\Server->start()
    [15:52:58] [Server thread/DEBUG]: #15 src/pocketmine/PocketMine(554): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string /home/19132/, string /home/19132/plugins/)
    [15:52:58] [Server thread/DEBUG]: #16 /home/19132/PocketMine-MP.phar(1): require(string phar:///home/19132/PocketMine-MP.phar/src/pocketmine/PocketMine.php)
     
  2. robske_110 (Tim)

    robske_110 (Tim) Wither Skeleton Poggit Reviewer

    Messages:
    1,342
    GitHub:
    robske110
    Teaspoon! (can someone do a PR to fix this shit, because telling ppl to not use teaspoon somehow doesn't work)
    you can remove all entities from your world (for example with ClearLagg to resolve this issue)
     
    Irish and jasonwynn10 like this.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.