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

Solved How to load a chunk ???

Discussion in 'Development' started by Matrox, Jun 17, 2019.

  1. Matrox

    Matrox Slime

    Messages:
    92
    GitHub:
    MatroxMC
    My code is that it spawn in random chords the problem is that chunks are not charging for spawn!
     
  2. Destroyer57

    Destroyer57 Zombie

    Messages:
    275
    $yourworld->loadChunk($x,$z)
     
  3. Matrox

    Matrox Slime

    Messages:
    92
    GitHub:
    MatroxMC
    Error
    Error: "Call to undefined method matrox\Main::getLevel()" (EXCEPTION) in "plugins/Core/src/matrox/Main" at line 1667
     
  4. Akmal

    Akmal Spider

    Messages:
    10
    GitHub:
    AkmalFairuz
    $level must instanceof \pocketmine\level\Level
     
  5. Matrox

    Matrox Slime

    Messages:
    92
    GitHub:
    MatroxMC
    Works thanks :)
     
  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.