mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-04-07 00:06:12 +00:00
cleanup generic type
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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