mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-10-02 01:27:28 +02:00
Remove default getStack implementation
This commit is contained in:
parent
9487665fae
commit
610774b0b9
@ -95,9 +95,7 @@ public abstract class ItemDbProvider implements Provider {
|
|||||||
* @param name The material name to look up
|
* @param name The material name to look up
|
||||||
* @return An ItemStack of size 1 of the given item
|
* @return An ItemStack of size 1 of the given item
|
||||||
*/
|
*/
|
||||||
public ItemStack getStack(String name) throws Exception {
|
public abstract ItemStack getStack(String name) throws Exception;
|
||||||
return new ItemStack(resolve(name));
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Creates a stack with the given amount of a given item by its name.
|
* Creates a stack with the given amount of a given item by its name.
|
||||||
|
Loading…
Reference in New Issue
Block a user