Unable to access any private properties (such as Item.LastConditionChange) by StatusEffect #15564
Replies: 2 comments
-
This is actually intentional. There is usually a reason for a private property to be private: modifying or using them might for example require some additional logic or require deeper knowledge of the inner workings of the class. That's somewhat the case with |
Beta Was this translation helpful? Give feedback.
-
Does this mean that |
Beta Was this translation helpful? Give feedback.
-
Disclaimers
What happened?
I guess
Item.HasBeenInstantiatedOnce
is also not working properly, perhaps because the access modifier of these properties is private?Reproduction steps
Add the following code to guardian pod
Damage a guardian pod, you will not see any particle emitting
Bug prevalence
Happens every now and then
Single player or multiplayer?
Single player
-
No response
Version
v1.7.7.0 (Winter Update)
-
No response
Which operating system did you encounter this bug on?
Windows
Relevant error messages and crash reports
No response
Beta Was this translation helpful? Give feedback.
All reactions