mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-04-13 19:26:14 +00:00
fix pattern Y level
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user