Note which custom generator is missing required method

This commit is contained in:
md_5 2020-04-17 14:37:58 +10:00
parent 7361a62ec7
commit b55e58d9e8

View file

@ -114,7 +114,7 @@ public abstract class ChunkGenerator {
*/ */
@NotNull @NotNull
public ChunkData generateChunkData(@NotNull World world, @NotNull Random random, int x, int z, @NotNull BiomeGrid biome) { public ChunkData generateChunkData(@NotNull World world, @NotNull Random random, int x, int z, @NotNull BiomeGrid biome) {
throw new UnsupportedOperationException("Custom generator is missing required method generateChunkData"); throw new UnsupportedOperationException("Custom generator " + getClass().getName() + " is missing required method generateChunkData");
} }
/** /**