docs: added additional comments for #11933

This commit is contained in:
Oleg Agafonov 2024-03-12 11:13:43 +04:00
parent f207945830
commit b746a601f2
2 changed files with 5 additions and 1 deletions

View file

@ -139,6 +139,10 @@ public interface Target extends Serializable {
boolean isRandom();
/**
* WARNING, if you need random choice then call it by target's choose method, not player's choose
* see https://github.com/magefree/mage/issues/11933
*/
void setRandom(boolean atRandom);
UUID getFirstTarget();