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

Need help with pets plugin

Discussion in 'Development' started by MalakasPlayzMC, Apr 15, 2017.

  1. MalakasPlayzMC

    MalakasPlayzMC Spider Jockey

    Messages:
    37
    I am one of the Admins of the BuildMCPEPlus server and I was thinking of adding back the pets plugin that was stolen from the LbCore and modified by FreeGamingHere. But when I try to set my pet to something it does not work and I get an error in the Console:

    Code:
    2017-04-15 [Tesseract] [09:49:31] INFO> MalakasPlayzMC issued server command: /pets type wither
    2017-04-15 [Tesseract] [09:49:31] CRITICAL> Unhandled exception executing command 'pets type wither' in pets: Argument 2 passed to pocketmine\entity\Entity::createEntity() must be an instance of pocketmine\level\Level, instance of pocketmine\level\format\Chunk given, called in phar:///home/gs/gs/data/servers/5098518/plugins/Pets_v1.5.0.phar/src/pets/main.php on line 81
    2017-04-15 [Tesseract] [09:49:31] CRITICAL> TypeError: "Argument 2 passed to pocketmine\entity\Entity::createEntity() must be an instance of pocketmine\level\Level, instance of pocketmine\level\format\Chunk given, called in phar:///home/gs/gs/data/servers/5098518/plugins/Pets_v1.5.0.phar/src/pets/main.php on line 81" (EXCEPTION) in "/src/pocketmine/entity/Entity" at line 632
    Pets plugin:
     

    Attached Files:

  2. Primus

    Primus Zombie Pigman

    Messages:
    749
    It's build for API 2.0.0
     
  3. MalakasPlayzMC

    MalakasPlayzMC Spider Jockey

    Messages:
    37
    I use Tesseract
     
  4. MalakasPlayzMC

    MalakasPlayzMC Spider Jockey

    Messages:
    37
    The error is inside the plugin.
     
  5. jasonwynn10

    jasonwynn10 Moderator Poggit Reviewer

    Messages:
    1,489
    GitHub:
    jasonwynn10
    We don't support tesseract.
    The error is caused by the plugin attempting to create a tile without the correct parameters
     
  6. GamakCZ

    GamakCZ Zombie Pigman

    Messages:
    598
    GitHub:
    GamakCZ
    Newly spawning mobs you need to use a chunk level place, I recommend contacting the author. ()
     
  7. Thunder33345

    Thunder33345 Moderator Staff Member

    Messages:
    2,137
    GitHub:
    Thunder33345
    you need to use level not chunk AFAIK if you even read errors
    and there's a reason why APIs versioning is in place to prevent issues of such
    and that's what you get for force loading it
     
  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.