diff options
Diffstat (limited to 'paper-generator/generatedApi')
-rw-r--r-- | paper-generator/generatedApi/io/papermc/paper/datacomponent/DataComponentTypes.java | 2 | ||||
-rw-r--r-- | paper-generator/generatedApi/org/bukkit/block/Biome.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/paper-generator/generatedApi/io/papermc/paper/datacomponent/DataComponentTypes.java b/paper-generator/generatedApi/io/papermc/paper/datacomponent/DataComponentTypes.java index bc2ea58794..b1664fd911 100644 --- a/paper-generator/generatedApi/io/papermc/paper/datacomponent/DataComponentTypes.java +++ b/paper-generator/generatedApi/io/papermc/paper/datacomponent/DataComponentTypes.java @@ -222,7 +222,7 @@ public final class DataComponentTypes { * <li>can't be changed or removed in Anvil</li> * <li>is not styled with italics when displayed to player</li> * <li>does not show labels where applicable - * (for example: banner markers, names in item frames)</li> + * (for example: banner markers, names in item frames)</li> * </ul> * * @see #CUSTOM_NAME diff --git a/paper-generator/generatedApi/org/bukkit/block/Biome.java b/paper-generator/generatedApi/org/bukkit/block/Biome.java index c59ab8f194..28e6f9110c 100644 --- a/paper-generator/generatedApi/org/bukkit/block/Biome.java +++ b/paper-generator/generatedApi/org/bukkit/block/Biome.java @@ -165,7 +165,7 @@ public interface Biome extends OldEnum<Biome>, Keyed, net.kyori.adventure.transl @NotNull private static Biome getBiome(@NotNull String key) { - return Registry.BIOME.get(NamespacedKey.minecraft(key)); + return Registry.BIOME.getOrThrow(NamespacedKey.minecraft(key)); } /** |