Bug Closed · Resolved

variables bug with forceload

#4616 opened by Unknown 2 years ago

Unknownreported this bug

I realized that when an entity is in a forceload area with a variable of type save=true after the server restarts its variable gets deleted and becomes undefined.

(I used this little rabbit for my tests ^^)

test:

Type: rabbit Skills:

  • setvariable{var=caster.VariableA;type=INTEGER;value="10";save=true;s=CASTER} @self ~onSpawn
  • message{m="<#AAAAAA>» test a <caster.var.VariableA>"} @NearestPlayer{r=50} ~onTimer:10
  • variableadd{var=caster.VariableA;amount=1} ~onInteract

Display: "&6Test"

Options:

Despawn: persistent

PreventOtherDrops: true

Silent: true

KnockbackResistance: 1

PreventItemPickup: true

PreventRandomEquipment: true
Unknowncommented

Contact https://writepaper.com/write-my-lab-report if you want to order your academic assignments without overpaying. The quality of the completed works of this service is simply amazing. If you have never tried to place orders before, this service will help you for the first time to do everything quickly, easily and reliably. The service employs only professionals and you will definitely not be disappointed with their skills and experience.

Sign in to join the discussion.