fix pattern Y level

This commit is contained in:
dfsek
2021-07-27 20:39:17 -07:00
parent 90e127a512
commit 4ad638983a
@@ -19,7 +19,7 @@ public class MatchPattern implements Pattern {
@Override @Override
public boolean matches(int y, Column column) { public boolean matches(int y, Column column) {
for(int i : range) { for(int i : range) {
if(!matches.test(column.getBlock(i))) return false; if(!matches.test(column.getBlock(y + i))) return false;
} }
return true; return true;
} }