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

help about a error

Discussion in 'Help' started by unknownmember, Dec 8, 2020.

  1. unknownmember

    unknownmember Creeper

    Messages:
    3
    PHP:
    error Server thread/CRITICAL]: #0 src/pocketmine/entity/Entity(430): pocketmine\nbt\tag\DoubleTag->__construct(string[0] , string[3] 260)

    [14:59:54] [Server thread/CRITICAL]: #1 src/pocketmine/level/Level(1670): pocketmine\entity\Entity::createBaseNBT(object pocketmine\math\Vector3, object pocketmine\math\Vector3, double 97.944469904972, double 0)

    [14:59:54] [Server thread/CRITICAL]: #2 plugins/Eggwars.phar/src/euto3rr/Task/BaseIngotGenerator(28): pocketmine\level\Level->dropItem(object pocketmine\math\Vector3, object pocketmine\item\Item)

    code: foreach($this->main->c->get("arenas") as $arena){
            if(
    $this->main->c->getNested($arena.".status") == true){
              
    $level $this->main->getServer()->getLevelByName($arena);
              
    $redgoldgenerator explode(":"$this->main->c->getNested($arena.".redgoldgenerator"));
              
    $level->dropItem(new Vector3($redgoldgenerator[0], $redgoldgenerator[1], $redgoldgenerator[2]), Item::get(266,0,1));
              
    $bluegoldgenerator explode(":"$this->main->c->getNested($arena.".bluegoldgenerator"));
              
    $level->dropItem(new Vector3($bluegoldgenerator[0], $bluegoldgenerator[1], $bluegoldgenerator[2]), Item::get(266,0,1));
              
    $greengoldgenerator explode(":"$this->main->c->getNested($arena.".greengoldgenerator"));
              
    $level->dropItem(new Vector3($greengoldgenerator[0], $greengoldgenerator[1], $greengoldgenerator[2]), Item::get(266,0,1));
              
    $yellowgoldgenerator explode(":"$this->main->c->getNested($arena.".yellowgoldgenerator"));
              
    $level->dropItem(new Vector3($yellowgoldgenerator[0], $yellowgoldgenerator[1], $yellowgoldgenerator[2]), Item::get(266,0,1));
            }
          }
        }
     
  2. mmm545

    mmm545 Baby Zombie

    Messages:
    152
    GitHub:
    mmm545
    you only gave the stacktrace, send the error above that
     
  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.