Fixed a bug with Myrkul, Lord of Bones where creating an enchantment would crash the gameserver and require a rollback.
@@ -107,7 +107,7 @@ class MyrkulLordOfBonesEffect extends OneShotEffect {
).setPermanentModifier((token, g) -> {
token.getCardType().clear();
token.addCardType(CardType.ENCHANTMENT);
- token.retainAllEnchantmentSubTypes(null);
+ token.retainAllEnchantmentSubTypes(g);
}).apply(game, source);
}
}
