From cdcdb41329648652107fbac66ba263961b043285 Mon Sep 17 00:00:00 2001 From: Bukkit/Spigot Date: Fri, 17 Apr 2020 14:37:58 +1000 Subject: [PATCH] Note which custom generator is missing required method By: md_5 --- .../src/main/java/org/bukkit/generator/ChunkGenerator.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paper-api/src/main/java/org/bukkit/generator/ChunkGenerator.java b/paper-api/src/main/java/org/bukkit/generator/ChunkGenerator.java index 70f20fb64f..7caef27682 100644 --- a/paper-api/src/main/java/org/bukkit/generator/ChunkGenerator.java +++ b/paper-api/src/main/java/org/bukkit/generator/ChunkGenerator.java @@ -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"); } /**