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

Solved Light update

Discussion in 'Development' started by jerryzooyoyo, Jul 13, 2017.

  1. jerryzooyoyo

    jerryzooyoyo Silverfish

    Messages:
    19
    GitHub:
    jerryzooyoyo
    I use $level->setBlock() to set blocks (for example, world editor).
    But when I set blocks, the light update is broken.
    I've turned on the light update function in server.properties and pocketmine.yml already.
    So I want to use codes to do that.
    After $level->setBlock(), how to update light using codes ?
    Thanks for your help.
     
    Last edited: Jul 14, 2017
  2. robske_110 (Tim)

    robske_110 (Tim) Wither Skeleton Poggit Reviewer

    Messages:
    1,342
    GitHub:
    robske110
  3. jerryzooyoyo

    jerryzooyoyo Silverfish

    Messages:
    19
    GitHub:
    jerryzooyoyo
  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.