#(Herobrine) trait gives error saying its a "null trait" even though it is registered

27 messages · Page 1 of 1 (latest)

thick harbor
#

I made some custom traits for my citizens NPCs, and I register them all in my onEnable. However for some reason with one particular trait, it seems to break and refuse to attach saying that it's a null trait.

green roostBOT
#

(Herobrine) trait gives error saying its a "null trait" even though it is registered

green roostBOT
#

Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.
You can block this bot if you don't want to see these messages, I won't mind.
<@&525394568410038282>

thick harbor
#

the one that wont attach is the first one

frosty island
#

It might be helpful to provide more information.

For example.
How did you register them? Are there errors, if so, poste your latest.log file.

#

!logs

sacred ingotBOT
# frosty island !logs
Info: logs

Please post your full latest log file.

Background Info: One of the most helpful tools to identifying the source of a problem is your server logs file! Logs contain all sorts of important information like server and plugin versions, any error messages, and a lot more important information (More Info).

How To: Your log can be found in the logs folder within your server folder. The most recent log is a text file labeled latest.log. To get help using these logs, please open that file in a text editor and copy all of the text, then open https://paste.denizenscript.com/New/Log and paste the text into the box on the page. Then click "Submit" and copy the URL and paste that back into this channel.

Please do not upload the file to Discord or to other pastebin services, use the log pastebin linked above.

thick harbor
#

im getting more info now

thick harbor
#

And here's the error that spams in my console when I try to attach the trait

#

it's not to do with the hologramtrait btw... the hologram one works fine

#

just the aggressive one

frosty island
tardy mirage
#

need the trait code as well

thick harbor
#

hey guys dont worry you can close this

#

i solved the issue

#

it was due to some value being null at the time of trait init but made a workaround

tall canyonBOT
#
Thread Closing Reminder

Has your issue been resolved, or your question been answered?
If so, please use the </resolved:1028673926114594866> command to close your thread.
Or </invalid:1028673926898909185> if it's not possible to resolve.

If not yet resolved, please reply below to tell us what you still need.

(Note that if there is no reply for a few days, this thread will eventually close itself.)

#

@thick harbor