diff --git a/paper-api/src/main/java/org/bukkit/UnsafeValues.java b/paper-api/src/main/java/org/bukkit/UnsafeValues.java index 33cad9015b..a4aabfe7fa 100644 --- a/paper-api/src/main/java/org/bukkit/UnsafeValues.java +++ b/paper-api/src/main/java/org/bukkit/UnsafeValues.java @@ -4,6 +4,7 @@ import org.bukkit.advancement.Advancement; import org.bukkit.block.data.BlockData; import org.bukkit.inventory.ItemStack; import org.bukkit.material.MaterialData; +import org.bukkit.plugin.InvalidPluginException; import org.bukkit.plugin.PluginDescriptionFile; /** @@ -31,7 +32,7 @@ public interface UnsafeValues { ItemStack modifyItemStack(ItemStack stack, String arguments); - void checkSupported(PluginDescriptionFile pdf); + void checkSupported(PluginDescriptionFile pdf) throws InvalidPluginException; byte[] processClass(PluginDescriptionFile pdf, String path, byte[] clazz);