Fix for name format. Closes #1258
This commit is contained in:
parent
207ac79b77
commit
021a6b0077
2 changed files with 17 additions and 1 deletions
|
@ -77,6 +77,10 @@ public class BlockStorage2 extends BaseBlock {
|
|||
}
|
||||
throw new InvalidParameterException("The storage block " + name + " could not be found.");
|
||||
}
|
||||
|
||||
public static ItemStack getStorageBlockByName(String name) {
|
||||
return getStorageBlockByName(name, 1);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Item getItemDropped(IBlockState state, Random rand, int fortune) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue