mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 04:38:00 +00:00
*Fixed a stupid oversight in the ManaNeededToAvoidNegativeEffect code.
This commit is contained in:
@@ -753,7 +753,7 @@ public class ComputerUtil {
|
||||
}
|
||||
for(String col : colorsNeededToAvoidNegativeEffect) {
|
||||
if(col.equalsIgnoreCase(colors.get(j))
|
||||
|| col.substring(0,1).equalsIgnoreCase(colors.get(j))) {
|
||||
|| CardUtil.getShortColor(col).equalsIgnoreCase(colors.get(j))) {
|
||||
res.add(am);
|
||||
}
|
||||
}
|
||||
@@ -772,7 +772,7 @@ public class ComputerUtil {
|
||||
}
|
||||
for(String col : colorsNeededToAvoidNegativeEffect) {
|
||||
if(col.equalsIgnoreCase(colors.get(j))
|
||||
|| col.substring(0,1).equalsIgnoreCase(colors.get(j))) {
|
||||
|| CardUtil.getShortColor(col).equalsIgnoreCase(colors.get(j))) {
|
||||
res.add(am);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user