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

Pvp with absorption

Discussion in 'Help' started by Matthew, Jun 21, 2017.

  1. Matthew

    Matthew Baby Zombie

    Messages:
    167
    GitHub:
    matthww
    Whenever I hit someone that has the effect absorption the console will throw this error:

    Code:
    [23:25:53] [Server thread/CRITICAL]: TypeError: "Argument 1 passed to pocketmine\entity\Living::setAbsorption() must be of the type integer, float given, called in /home/matthew/server/src/pocketmine/entity/Entity.php on line 920" (EXCEPTION) in "/src/pocketmine/entity/Living" at line 99
    [23:25:53] [RakLibServer thread/NOTICE]: Blocked x.x.x.x for 5 seconds
    
    Is this caused by a plugin or because of PocketMine? I'm using version 86742fc
     
  2. Matthew

    Matthew Baby Zombie

    Messages:
    167
    GitHub:
    matthww
    Last edited: Jun 21, 2017
  3. dktapps

    dktapps Administrator Staff Member PMMP Team

    Messages:
    774
    GitHub:
    dktapps
    Try using the api3/blocks branch, this issue is fixed on there.
     
    Matthew likes this.
  4. Matthew

    Matthew Baby Zombie

    Messages:
    167
    GitHub:
    matthww
    Yup. No absorption problems on the api3/blocks branch!
     
  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.