mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-06-18 23:01:03 +00:00
fix pattern Y level
This commit is contained in:
+1
-1
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user