public void clearGrid(EntityPlayer entityPlayer, Container container, IInventory craftMatrix) {
clearGrid(entityPlayer, container, craftMatrix, 0, craftMatrix.getSizeInventory());
}
@Override
public void clearGrid(EntityPlayer entityPlayer, Container container, IInventory craftMatrix, int start, int size) {
<BUG>for(int i = start; i < size; i++) {
</BUG>
ItemStack itemStack = craftMatrix.getStackInSlot(i);
if(itemStack != null) {
if (entityPlayer.inventory.addItemStackToInventory(itemStack)) {

public void clearGrid(EntityPlayer entityPlayer, Container container, IInventory craftMatrix) {
clearGrid(entityPlayer, container, craftMatrix, 0, craftMatrix.getSizeInventory());
}
@Override
public void clearGrid(EntityPlayer entityPlayer, Container container, IInventory craftMatrix, int start, int size) {
for(int i = start; i < start + size; i++) {
ItemStack itemStack = craftMatrix.getStackInSlot(i);
if(itemStack != null) {
if (entityPlayer.inventory.addItemStackToInventory(itemStack)) {
