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

Why this is happening and how to prevent it?

Discussion in 'Development' started by LyricalLyfes, Nov 10, 2021.

  1. LyricalLyfes

    LyricalLyfes Spider Jockey

    Messages:
    28
    Basically I have a task which spawns human entities every 5 minutes in another world and I had its scale set to 2 "$human->setScale(2)". Whenever I leave that world for about 20-30 seconds, the human entity scale goes back to default which is 1.

    Any idea why this is happening and how to fix it?
     
  2. minijaham

    minijaham Skeleton

    Messages:
    801
    GitHub:
    minijaham
    Probably because the chunk is unloaded and it's loaded back when you rejoin that world?
    Not sure because I can't test it myself at the moment.
     
  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.