diff --git a/src/engine/powers/ActionsBase.java b/src/engine/powers/ActionsBase.java index 9ae7339e..57249537 100644 --- a/src/engine/powers/ActionsBase.java +++ b/src/engine/powers/ActionsBase.java @@ -240,13 +240,15 @@ public class ActionsBase { //Add blocked types here public boolean blocked(AbstractWorldObject awo, PowersBase pb, int trains, AbstractCharacter source) { - if (AbstractWorldObject.IsAbstractCharacter(awo)) { - AbstractCharacter target = (AbstractCharacter) awo; - if(source.getObjectType().equals(Enum.GameObjectType.PlayerCharacter)){ - PlayerCharacter pc = (PlayerCharacter) source; - if(target.getObjectType().equals(Enum.GameObjectType.PlayerCharacter)){ - if(pc.isBoxed && pc.getObjectUUID() != target.getObjectUUID()){ - return true; + if(!pb.getName().contains("Summon")) { + if (AbstractWorldObject.IsAbstractCharacter(awo)) { + AbstractCharacter target = (AbstractCharacter) awo; + if (source.getObjectType().equals(Enum.GameObjectType.PlayerCharacter)) { + PlayerCharacter pc = (PlayerCharacter) source; + if (target.getObjectType().equals(Enum.GameObjectType.PlayerCharacter)) { + if (pc.isBoxed && pc.getObjectUUID() != target.getObjectUUID()) { + return true; + } } } }