1
mirror of https://github.com/StarWishsama/Slimefun4.git synced 2024-09-20 03:35:51 +00:00

Test improvement

This commit is contained in:
RobotHanzo 2021-04-03 16:10:18 +08:00
parent c56713ed7d
commit 7e76392535

View File

@ -11,10 +11,12 @@ import org.bukkit.inventory.ItemStack;
import javax.annotation.Nonnull; import javax.annotation.Nonnull;
import javax.annotation.Nullable; import javax.annotation.Nullable;
import javax.annotation.ParametersAreNonnullByDefault;
public class DamageableMock extends SlimefunItem implements DamageableItem { public class DamageableMock extends SlimefunItem implements DamageableItem {
boolean itemDamageable; boolean itemDamageable;
@ParametersAreNonnullByDefault
public DamageableMock(Category category, SlimefunItemStack item, RecipeType recipeType, ItemStack[] recipe, boolean damageable) { public DamageableMock(Category category, SlimefunItemStack item, RecipeType recipeType, ItemStack[] recipe, boolean damageable) {
super(category, item, recipeType, recipe); super(category, item, recipeType, recipe);
itemDamageable = damageable; itemDamageable = damageable;