fix pattern Y level

This commit is contained in:
dfsek
2021-07-27 20:39:17 -07:00
parent 90e127a512
commit 4ad638983a

View File

@@ -19,7 +19,7 @@ public class MatchPattern implements Pattern {
@Override
public boolean matches(int y, Column column) {
for(int i : range) {
if(!matches.test(column.getBlock(i))) return false;
if(!matches.test(column.getBlock(y + i))) return false;
}
return true;
}