mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-09 19:49:35 +01:00
Fixed compile issues with StructureGrowDelegate not implementing the new isEmpty method
By: Nathan Adams <dinnerbone@dinnerbone.com>
This commit is contained in:
parent
be0e906988
commit
d267b15b44
1 changed files with 4 additions and 0 deletions
|
@ -41,4 +41,8 @@ public class StructureGrowDelegate implements BlockChangeDelegate {
|
||||||
public List<BlockState> getBlocks() {
|
public List<BlockState> getBlocks() {
|
||||||
return blocks;
|
return blocks;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public boolean isEmpty(int x, int y, int z) {
|
||||||
|
return world.getBlockAt(x, y, z).isEmpty();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue