fix Silent Hallcreeper duration

This commit is contained in:
xenohedron 2025-01-24 19:06:17 -05:00
parent 33a99929ce
commit 166ecb98d0

View file

@ -87,7 +87,7 @@ class SilentHallcreeperEffect extends OneShotEffect {
Permanent sourcePermanent = source.getSourcePermanentIfItStillExists(game);
Permanent copyFromPermanent = game.getPermanent(getTargetPointer().getFirst(game, source));
if (sourcePermanent != null && copyFromPermanent != null) {
game.copyPermanent(Duration.EndOfTurn, copyFromPermanent, sourcePermanent.getId(), source, new EmptyCopyApplier());
game.copyPermanent(Duration.Custom, copyFromPermanent, sourcePermanent.getId(), source, new EmptyCopyApplier());
return true;
}
return false;