Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Delayed Command/Type Registration #343

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Benisgo
Copy link

@Benisgo Benisgo commented Dec 28, 2024

Delayed Command/Type Registration Fix

Fixes an issue that I've personally encountered multiple times with Commands or Types not registering if the client doesn't load on time

The client might load the "Types" and "Commands" Folder but not the children in them, This change ensures that any children added later get registered as well

𝗘𝘅𝗮𝗺𝗽𝗹𝗲 𝗼𝗳 𝗱𝗲𝗳𝗮𝘂𝗹𝘁 𝗰𝗼𝗺𝗺𝗮𝗻𝗱𝘀 𝗻𝗼𝘁 𝗿𝗲𝗴𝗶𝘀𝘁𝗲𝗿𝗶𝗻𝗴

Declarations:

  • I declare that this contribution was created in whole or in part by me.
  • I declare that I have the right to submit this contribution under the terms of this repository's license and declarations.
  • I understand and agree that this contribution and a record of it are public, maintained permanently, and may be redistributed under the terms of this repository's license.

Fixes issue with commands a types not registering if the client doesn't load on time

The client might load the "Types" and "Commands" Folder but not the children in them, This change ensures that any children added later get registered as well
@Benisgo Benisgo changed the title Update init.lua Fix: Delayed Command/Type Registration Dec 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant