mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-08-05 12:02:53 +00:00
Remove default getStack implementation
This commit is contained in:
parent
9487665fae
commit
610774b0b9
1 changed files with 1 additions and 3 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue