#(mrcrash) Display entity adjust error

33 messages · Page 1 of 1 (latest)

obtuse lodge
#

Hi,

I have a script to make bonsai pot, everything work pretty well but the console get some errors..

Error:
https://paste.denizenscript.com/View/115131

Script part:
https://paste.denizenscript.com/View/115133

*The saplingOn flag have the display entity has value.

grave lotusBOT
#

(mrcrash) Display entity adjust error

grave lotusBOT
#

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.

errant bronze
#

[bonsai].flag[saplingOn]

#

either the def or the flag are null

obtuse lodge
#

this one? - define sapling <[bonsai].flag[saplingOn]>

errant bronze
#

id imagine

#

post the script

#

the relevant part

#

oh you did

#

sec

obtuse lodge
#

If you want full script/debug tell me 😉

errant bronze
#

record a debug with the script running

obtuse lodge
#

Okay, but the script is an infinite loop so he is huge

errant bronze
#

record 1 loop then

obtuse lodge
#

hm, that weird, look like the error exists only if i'm not online

errant bronze
#

<server.flag[bonsai_pots]> what is this

#

is it a list of locations

obtuse lodge
#

Yes

#

probably better

errant bronze
#

Pretty sure you can't read flags off of locations in unloaded chunks

obtuse lodge
#

oh yeah that's look logic

#

so i need to check if the chunck is loaded

errant bronze
#

can just

#

<server.flag[bonsai_pots].filter[chunk.is_loaded]>

obtuse lodge
#

oh

#

pretty usefull

#

Yeah that fix the error in consol

#

console*

#

nice thanks