Fixed amount for empty cells. Closes #1366

This commit is contained in:
drcrazy 2017-12-16 01:46:34 +03:00
parent 6c7f9078ec
commit dce7e43c4f

View file

@ -34,7 +34,7 @@ import reborncore.common.util.StringUtils;
public class ItemCells {
public static ItemStack getCellByName(String name, int count) {
if (name.equalsIgnoreCase("empty") || name.equalsIgnoreCase("cell")) {
return DynamicCell.getEmptyCell(16).copy();
return DynamicCell.getEmptyCell(count).copy();
}
Fluid fluid = FluidRegistry.getFluid("fluid" + name.toLowerCase());
if (fluid == null) {