Closed Kaidenleaf closed 7 months ago
From version 4.45.2 and above, the placeholder of %player% in the to_target action doesn't parse.
You can try it with the example from the player_attack event:
example: type: player_attack conditions: - '%victim% == PLAYER' - '%item% == DIAMOND_SWORD' - '%item_name% == Super Sword' - '%random_1-10% >= 8' actions: default: - 'message: &aYour diamond sword poison effect was activated! &6%target:player_name% &ais now poisoned!' - 'to_target: give_potion_effect: POISON;120;1' - 'to_target: message: &cYou were poisoned by &e%player%&c!'
On version 4.45.1:
On version 4.45.2 and above:
Could you please check if this bug happens also with other "to" actions? Like to_world, to_all or to_range? Thanks.
I have checked the other "to" actions and all of them worked fine.
From version 4.45.2 and above, the placeholder of %player% in the to_target action doesn't parse.
You can try it with the example from the player_attack event:
On version 4.45.1:![image](https://github.com/Ajneb97/ConditionalEvents/assets/129576524/03793010-b99b-465d-a927-d73688c94636)
On version 4.45.2 and above:![Screenshot 2024-01-01 162845](https://github.com/Ajneb97/ConditionalEvents/assets/129576524/9054b30b-6333-4f33-b9d0-7414ca70f3e0)