mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-30 16:19:03 +01:00
f229d8d396
Upstream has released updates that appears to apply and compile correctly. This update has not been tested by PaperMC and as with ANY update, please do your own testing Bukkit Changes: 333b9f02 SPIGOT-5422: Add support for 3-dimensional biomes 170d7386 Fix bad link in deprecated FlowerPot MaterialData class CraftBukkit Changes:16dc5758
SPIGOT-5449: Fix issue with projectilesfd25653f
SPIGOT-5448: Shulker Boxes collapse empty slots when picked upb97d581a
SPIGOT-5443: BEE_NEST BlockState73698cf8
SPIGOT-5442: Fix issue with fire chargesbeff9fb9
SPIGOT-5437: Fix CustomChunkGenerator.CustomBiomeGrid ignoring the y value for biomesf777640e
SPIGOT-5425: Prevent empty/air loot (again?)db0dafb1
SPIGOT-5422: Add support for 3-dimensional biomes4633e6c5
Fix crash with disabled worlds Spigot Changes: f39a89ef SPIGOT-5423: Remove covariant type change to give better chance of Java downgrades working
24 lines
No EOL
1.2 KiB
Diff
24 lines
No EOL
1.2 KiB
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: Zach Brown <1254957+zachbr@users.noreply.github.com>
|
|
Date: Wed, 2 Oct 2019 21:24:28 -0500
|
|
Subject: [PATCH] Name the specific custom world gen plugin class that throws a
|
|
UOE
|
|
|
|
|
|
diff --git a/src/main/java/org/bukkit/generator/ChunkGenerator.java b/src/main/java/org/bukkit/generator/ChunkGenerator.java
|
|
index 5b847bb3..6c9d313f 100644
|
|
--- a/src/main/java/org/bukkit/generator/ChunkGenerator.java
|
|
+++ b/src/main/java/org/bukkit/generator/ChunkGenerator.java
|
|
@@ -0,0 +0,0 @@ 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");
|
|
+ // Paper start - More helpful custom chunk gen exceptions
|
|
+ final String generatorClass = world.getGenerator() != null ? world.getGenerator().getClass().getName() : "null";
|
|
+ throw new UnsupportedOperationException("Custom generator is missing required method generateChunkData: " + generatorClass);
|
|
+ // Paper end
|
|
}
|
|
|
|
/**
|
|
--
|