Case the Joint - fixed that it doesn't look at other players library (related to #12151);

This commit is contained in:
Oleg Agafonov 2024-04-20 23:47:59 +04:00
parent 5784bce025
commit 6ca94e11ff

View file

@ -60,7 +60,7 @@ class CaseTheJointEffect extends OneShotEffect {
return false;
}
for (UUID playerId : game.getState().getPlayersInRange(source.getControllerId(), game)) {
Player player = game.getPlayer(source.getControllerId());
Player player = game.getPlayer(playerId);
if (player == null) {
continue;
}