mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-11-16 23:55:28 +01: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
|
||||
* @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.
|
||||
|
Loading…
Reference in New Issue
Block a user