Giter Site home page Giter Site logo

Comments (4)

clo4 avatar clo4 commented on July 20, 2024

Oh that's super weird! That's one of the things that I specifically tested to make sure it was working. Just tested again to confirm, and with exactly those datapacks installed it works fine for me.

Need some more info:

  • Do all players online have the afk tag? /tag @a list
  • Are there any other data packs installed, and what are they?
  • What game version are you running?
  • If you're an admin (I'm assuming you are?) can you run the following commands and send the output:
    • /scoreboard players get #do_daylight_cycle pause_daylight_cycle.dummy
    • /scoreboard players get #is_paused pause_daylight_cycle.dummy
  • Is there anything else that might be relevant?

I truly don't know how this could have broken because the only thing that changed was the name of the folders, there literally wasn't a change in the logic at all haha.

My only guess is that while the daylight cycle was paused, somehow the scoreboard that it uses to keep track of how it was paused got reset, so it thought a player had disabled the daylight cycle and didn't resume it. That's what I'm trying to find out with those scoreboard values.

After you've given me the result of those commands, I think this will fix it:

/function pause_day_cycle:uninstall
/gamerule doDaylightCycle true
/reload

But if it breaks after that, I'll have to keep digging to figure out what the problem is. I even tested both cases of upgrading the world from 1.20.x to 1.21 while the daylight cycle is and isn't paused.

from datapacks.

clo4 avatar clo4 commented on July 20, 2024

Oh one more thing actually. Because datapacks are world based I can actually do this debugging myself if you're willing to send me the world file - I'm @clo4 on Discord if you want to DM it to me.

from datapacks.

BitSents avatar BitSents commented on July 20, 2024

i was able to patch it just by turning on the gamerule back on and it worked perfectly even when no players are online. not sure why it was paused to start with upon world launch. not sure why but it's fixed now and works as intended.

from datapacks.

clo4 avatar clo4 commented on July 20, 2024

Extremely strange. I’ll keep a lookout for that on my own worlds too. Thanks for letting me know, appreciate it!

from datapacks.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.