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

setBiomeColor();

Discussion in 'Plugin Help' started by MyNET, Mar 23, 2017.

  1. MyNET

    MyNET Silverfish

    Messages:
    24
    I got an error....


    [17:10:00] [Server thread/CRITICAL]: Unhandled exception executing command 'wf fixcolor' in wf: Call to undefined method pocketmine\level\Level::setBiomeColor()
    [17:10:00] [Server thread/CRITICAL]: Error: "Call to undefined method pocketmine\level\Level::setBiomeColor()" (EXCEPTION) in "/WorldFixer_v1.phar/src/WorldFixer/WorldFixer" at line 191
     
  2. dktapps

    dktapps Administrator Staff Member PMMP Team

    Messages:
    774
    GitHub:
    dktapps
    Biome colour API methods were removed in API 3.0.0-ALPHA1, see the changelogs on GitHub releases.
     
    Jack Noordhuis and MyNET like this.
  3. MyNET

    MyNET Silverfish

    Messages:
    24
    Ohh! Do biome api will add back to pmmp?
     
  4. dktapps

    dktapps Administrator Staff Member PMMP Team

    Messages:
    774
    GitHub:
    dktapps
    No, it was removed from the MCPE client in 1.0. Use setBiomeId() instead.
     
    MyNET likes this.
  5. MyNET

    MyNET Silverfish

    Messages:
    24
    okay ty
     
  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.