1
mirror of https://github.com/StarWishsama/Slimefun4.git synced 2024-09-19 19:25:48 +00:00

[CI skip] Removed some deprecated stuff

This commit is contained in:
TheBusyBiscuit 2020-06-16 14:50:03 +02:00
parent 6c017b87cf
commit 0fd631813b
3 changed files with 2 additions and 38 deletions

View File

@ -18,6 +18,8 @@
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
## Release Candidate 14 (TBD)
## Release Candidate 13 (16 Jun 2020)
https://thebusybiscuit.github.io/builds/TheBusyBiscuit/Slimefun4/stable/#13

View File

@ -1,26 +0,0 @@
package me.mrCookieSlime.Slimefun.Objects.SlimefunItem;
import org.bukkit.inventory.ItemStack;
import me.mrCookieSlime.Slimefun.Lists.RecipeType;
import me.mrCookieSlime.Slimefun.Objects.Category;
import me.mrCookieSlime.Slimefun.api.SlimefunItemStack;
/**
*
* @deprecated Just override the method {@link #useVanillaBlockBreaking()} instead.
*
*/
@Deprecated
public class HandledBlock extends SlimefunItem {
public HandledBlock(Category category, SlimefunItemStack item, RecipeType recipeType, ItemStack[] recipe) {
super(category, item, recipeType, recipe);
}
@Override
public boolean useVanillaBlockBreaking() {
return true;
}
}

View File

@ -171,18 +171,6 @@ public class SlimefunItemStack extends CustomItem {
return id;
}
/**
* Returns the id that was given to this {@link SlimefunItemStack}.
*
* @deprecated Renamed to {@link #getItemId()}
*
* @return The {@link SlimefunItem} id for this {@link SlimefunItemStack}
*/
@Deprecated
public String getItemID() {
return id;
}
/**
* Gets the {@link SlimefunItem} associated for this {@link SlimefunItemStack}. Null if no item is found.
*