mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-10-21 15:57:19 +00:00
cleanup generic type
This commit is contained in:
1 parent
397c464fb2
commit
b4408f048c
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -24,7 +24,7 @@ public class MatchPattern implements Pattern {
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean matches(int y, Column column) {
|
||||
public boolean matches(int y, Column<?> column) {
|
||||
for(int i : range) {
|
||||
if(!matches.test(column.getBlock(y + i))) return false;
|
||||
}
|
||||
|
||||
+1
-1
@@ -11,7 +11,7 @@ import com.dfsek.terra.api.world.chunk.generation.util.Column;
|
||||
|
||||
|
||||
public interface Pattern {
|
||||
boolean matches(int y, Column column);
|
||||
boolean matches(int y, Column<?> column);
|
||||
|
||||
default Pattern and(Pattern that) {
|
||||
return (y, column) -> this.matches(y, column) && that.matches(y, column);
|
||||
|
||||
Reference in new issue
Block a user