#(AstroSquared) Destroying an NPC using the Dev API causes a warning
58 messages · Page 1 of 1 (latest)
(AstroSquared) Destroying an NPC using the Dev API causes a warning
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>
Frequently asked questions about Citizens are answered at https://wiki.citizensnpcs.co/Frequently_Asked_Questions.
sec
yeah
This page contains frequently asked questions regarding the Citizens project. You should always check here before submitting an issue, asking on Discord, or posting on the forum thread. Your queries could very well have already been answered here.
is this what you meant? or do you mean removing them actively?
this doesn't happen when i shut down the server
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.
Content of Server Log Paste #105948: Unnamed Server Log Paste... pasted 2023/02/02 16:56:45 UTC-08:00, Paste length: 30022 characters across 306 lines, Content: [19:52:51] [ServerMain/INFO]: Environment: authHost=https://authserver.mojang.com, accountsHost=http...
Thread is now a Bug thread. This indicates a core code bug that a developer must resolved, not an error message or other support topic. Please do not misuse the Bug label. Use </helpthread:1028674284870180883> to switch the thread back to a normal help thread if you are not 100% confident it is a code bug.
I’ll try and fix this soon
If you need a temporary workaround just disable glowing prior to destroy()
Content of Server Log Paste #105948: Unnamed Server Log Paste... pasted 2023/02/02 16:56:45 UTC-08:00, Paste length: 30022 characters across 306 lines, Content: [19:52:51] [ServerMain/INFO]: Environment: authHost=https://authserver.mojang.com, accountsHost=http...
Paper version git-Paper-387 (MC: 1.18.2)-- (Outdated build, behind by 1... Current build is 388)
Citizens v2.0.30-SNAPSHOT (build 2742) -- (:warning:Outdated build, behind by 159)
@slender beacon
4 (:white_check_mark: Online)
17 or newer (based on stack trace content) :white_check_mark:
ProtocolLib v4.8.0
ViaVersion v4.4.2 - Mixed client vs server versions can sometimes cause packet-related issues.
FastAsyncWorldEdit v2.4.10-SNAPSHOT-303;983e440 - This plugin has been known to break the plugin load order on many servers, due to usage of the 'loadbefore' directive in its 'plugin.yml'.
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.)
@deft bloom
I’ll check in an hour or so
I just woke up
i can confirm the issue is still present in citizens build 2901
also, i don't know why this is triggering as i never enabled glowing on any npcs and there are no mentions of setGlowing in my project
can you post the updated error then?
@deft bloom
I’ll be able to check after school
try new build
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.)
@deft bloom
i'm getting this error now:
this is the closest thing that i found in my project relating to name visibility
So something in your code is breaking citizens
Are you despawning the entity during an event?
I’m pretty sure I’m despawning it in the navigation complete event
Ahh that’s probably why
update to new build
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.)
@deft bloom
thanks, it works now without errors
Thread closed as resolved.
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.)
@deft bloom
Thread closed as resolved.
i already closed it?
Yeah, it was reopened by someone and I used the wrong command - meant to re-close it
okay