Note which custom generator is missing required method

By: md_5 <git@md-5.net>
This commit is contained in:
Bukkit/Spigot 2020-04-17 14:37:58 +10:00
parent 23efa7fb0c
commit cdcdb41329

View file

@ -114,7 +114,7 @@ public abstract class ChunkGenerator {
*/
@NotNull
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");
}
/**