Remove default getStack implementation

This commit is contained in:
md678685 2018-08-19 23:11:30 +01:00
parent 9487665fae
commit 610774b0b9

View File

@ -95,9 +95,7 @@ public abstract class ItemDbProvider implements Provider {
* @param name The material name to look up
* @return An ItemStack of size 1 of the given item
*/
public ItemStack getStack(String name) throws Exception {
return new ItemStack(resolve(name));
}
public abstract ItemStack getStack(String name) throws Exception;
/**
* Creates a stack with the given amount of a given item by its name.