Hello PMMP Forum! I have a proplem! I try to make Enum like this: PHP: use pocketmine\nbt\tag\EnumTag;use pocketmine\nbt\tag\DoubleTag;$m = new EnumTag("Motion", [new DoubleTag(" ", -\sin($p->yaw / 180 * M_PI) * \cos($p->pitch / 180 * M_PI)),new DoubleTag(" ", -\sin($p->pitch / 180 * M_PI)),new DoubleTag(" ", \cos($p->yaw / 180 * M_PI) * \cos($p->pitch / 180 * M_PI) )]); But it is not working i think because Enum does no exist in pmmp files but is there any way to make working Enum?
Enum is now ListTag. This change took place almost 2 years ago, when shoghi was working on updating PMMP to PHP7.