177178179180181182183184185186187
return; } else housing.setErrorState(EnumErrorCode.OK.ordinal()); // Produce and add stacks ItemStack[] products = queen.produceStacks(housing); housing.wearOutEquipment(1); for (ItemStack stack : products) { housing.addProduct(stack, false); }