Fixed an error with the debug command and added @NotNull to generator methods

This commit is contained in:
MattBDev
2020-02-11 17:06:58 -05:00
parent e53ea2377c
commit 4b306d454b
6 changed files with 17 additions and 12 deletions

View File

@ -22,6 +22,7 @@ import org.bukkit.generator.ChunkGenerator.BiomeGrid;
import org.bukkit.generator.ChunkGenerator.ChunkData;
import java.util.Arrays;
import org.jetbrains.annotations.NotNull;
public class GenChunk extends ScopedLocalBlockQueue {
@ -107,7 +108,7 @@ public class GenChunk extends ScopedLocalBlockQueue {
return false;
}
@Override public boolean setBlock(int x, int y, int z, Pattern pattern) {
@Override public boolean setBlock(int x, int y, int z, @NotNull Pattern pattern) {
return setBlock(x, y, z, PatternUtil.apply(pattern, x, y, z));
}