Skip to content

inCheckCreatureInsideDoor - open/close doors #3363

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

Closed
2 of 5 tasks
XmasGame opened this issue Feb 12, 2025 · 1 comment · Fixed by #3535
Closed
2 of 5 tasks

inCheckCreatureInsideDoor - open/close doors #3363

XmasGame opened this issue Feb 12, 2025 · 1 comment · Fixed by #3535
Labels
Priority: Low Minor impact Status: Pending Test This PR or Issue requires more testing Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors.

Comments

@XmasGame
Copy link

Priority

Low

Area

  • Datapack
  • Source
  • Map
  • Other

What happened?

when you close/open doors (very very fast)
when the object does not finish transforming, and you use it again, this appears in the console

Interface: Scripts Interface
Script ID: /root/canary/data/scripts/actions/doors/key_door.lua:callback
Error Description: data/libs/functions/creature.lua:175: attempt to index a nil value
stack traceback:
	[C]: in function '__index'
	data/libs/functions/creature.lua:175: in function 'checkCreatureInsideDoor'
	/root/canary/data/scripts/actions/doors/key_door.lua:46: in function </root/canary/data/scripts/actions/doors/key_door.lua:29>
---------------------------------------
 
[2025-11-02 21:30:41.740] [error] Lua Script Error Detected
---------------------------------------
Interface: Scripts Interface
Script ID: /root/canary/data/scripts/actions/doors/custom_door.lua:callback
Error Description: data/libs/functions/creature.lua:175: attempt to index a nil value
stack traceback:
	[C]: in function '__index'
	data/libs/functions/creature.lua:175: in function 'checkCreatureInsideDoor'
	/root/canary/data/scripts/actions/doors/custom_door.lua:14: in function </root/canary/data/scripts/actions/doors/custom_door.lua:13>

What OS are you seeing the problem on?

Linux, Windows

Code of Conduct

  • I agree to follow this project's Code of Conduct
@XmasGame XmasGame added the Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors. label Feb 12, 2025
@github-actions github-actions bot added Priority: Low Minor impact Status: Pending Test This PR or Issue requires more testing labels Feb 12, 2025
@murilo09 murilo09 reopened this Feb 12, 2025
@murilo09
Copy link
Contributor

No need to close

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: Low Minor impact Status: Pending Test This PR or Issue requires more testing Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors.
Projects
None yet
3 participants