-
-
Notifications
You must be signed in to change notification settings - Fork 362
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
Can't set name of entity. Intended? #2139
Comments
Because Entities aren't allowed to be stored in variables, entities will not be of the same object on a server restart, and yes that includes local variables as it goes through the same system as global variables, and I understand that it could work for local variables. Sometimes it works, it's been a known issue for a long time.
Use it's reference of clicked entity directly, also next time only use Skript syntaxes when reporting a bug, and only have Skript installed with no addons as intended in the readme. |
I was creating a question, not a bug report, but I guess there is no difference when it's posted. Thank you for response, but my issue is not with the variables, but with that you can't change name of
|
@TheLimeGlass they absolutely are allowed to be - any object can be. They just aren't serializable and can't persist restarts. |
This definitely doesn't make sense because non-living entities do support custom names. I actually do so regularly on my server with names on item stacks for displays and stuff. |
I can confirm this issue happening, but only when an entity is residing within a local variable (didnt test with normal variables) |
If type of object (mob) is
entity
, notliving entity
, you can't change it's name via Skript effects. Is this intended?If it is intended, why can I apply potion effects to this entity (while it's in a variable) but cannot change it's name?
I expected Skript to take in any entity and then decide whether effect can be applied to it, it seemed logical to me.
The text was updated successfully, but these errors were encountered: