-
-
Notifications
You must be signed in to change notification settings - Fork 374
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
last spawned entity does not always return #3063
Comments
Hmm, not sure then, Ill mark it as a bug. |
changed |
if anyone runs into the same issue before it is fixed, here's a temporary skript-mirror workaround:
|
This issue does not appear to affect newer versions at all, from what I can see. While it might still be happening, it has not appeared in over a dozen tests on either my local or remote servers. It seems to be limited to outdated MC versions from what I can tell (I'm going to test 1.13 through 1.15 today) EDIT: I've tested a bunch of versions. It seems to be absolutely fine in 1.14+ :) |
So turns out this was just a silly little typo in VillagerData. |
Description
last spawned entity does not always return, it'll return none in some cases
Steps to Reproduce
simple code:
spawn a villager at location of {_p}
set {_villager} to last spawned entity
sometimes, with about 30% chance, {_villager} will be none while the villager did get spawned
Expected Behavior
I expect it to return villager entity at ALL times
Errors / Screenshots
None
Server Information
Additional Context
The text was updated successfully, but these errors were encountered: