Fixed amount for empty cells. Closes #1366
This commit is contained in:
parent
6c7f9078ec
commit
dce7e43c4f
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ import reborncore.common.util.StringUtils;
|
||||||
public class ItemCells {
|
public class ItemCells {
|
||||||
public static ItemStack getCellByName(String name, int count) {
|
public static ItemStack getCellByName(String name, int count) {
|
||||||
if (name.equalsIgnoreCase("empty") || name.equalsIgnoreCase("cell")) {
|
if (name.equalsIgnoreCase("empty") || name.equalsIgnoreCase("cell")) {
|
||||||
return DynamicCell.getEmptyCell(16).copy();
|
return DynamicCell.getEmptyCell(count).copy();
|
||||||
}
|
}
|
||||||
Fluid fluid = FluidRegistry.getFluid("fluid" + name.toLowerCase());
|
Fluid fluid = FluidRegistry.getFluid("fluid" + name.toLowerCase());
|
||||||
if (fluid == null) {
|
if (fluid == null) {
|
||||||
|
|
Loading…
Reference in a new issue